Jira 7.2.2 Writing JqlFunction build failure due to constructor arguments

Neil Sonnenberg August 21, 2017

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