Jira 7.2.2 Writing JqlFunction build failure due to constructor arguments

So I'm trying to develop Jira plugins and have had success with Project Tab panels and JqlFunctions in the past. However, even though I've actually made a working JqlFunction before, it refuses to work now. 

The problem that I'm facing is that in order to populate a list of issues to work with, I need to gain access to some Components namely SearchService and JqlQueryParser. But, if I use ComponentAccessor like I would for a Project Tab Panel, it fails all the test cases created during atlas-run. So I tried to use the method where you inject components as arguments to the constructor. But this also fails the test classes because the test classes try to use the default constructor to test. 

When I attempted a JqlFunction in the past I never got this error and I have no idea what I did differently this time for it to fail in this manner both in an existing project and when creating a brand new plugin. I'm currently working the Atlassian SDK 6.2.14. 

0 answers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

114 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you