Atlassian Interview Question

I was given sample code. I had to add some basic features and fix unit tests in it.