sorry I think I mis-spoke in my comment - the two relevant annotations are described in https://jamieechlin.atlassian.net/wiki/display/GRV/Scripting+Other+Plugins and https://jamieechlin.atlassian.net/wiki/display/GRV/Working+With+JIRA+Agile
Thanks Jamie, I checked the documentation and tried @JiraAgileBean on practice - it works perfectly for all JiraAgile components, amazing! ) I spent a lot of time on trying to achieve the same playing with Spring contects, OSGi imports and so on but failed. May be you could share briefly the approach you used so that it can be reproduced in any third-party JIRA plugin development? Regards, Vasiliy
It involves leaping from one private field to another until you get the application context. I have actually posted details in a previous question... in java it would be the same but using reflection, and setting private fields as accessible etc. If I find a better way I will replace it, but I don't think it's going to happen until the JA folks decide they actually want a public API.
Yes, I've done something like you've mentioned using existing public API and accessing private fields which represented hidden services which I needed. But it has limitation cause again the set of that fields is quite limited. Getting any service like you do even being some hack approach is the only possible, indeed. You've mentioned you've posted the details on some other question - I tried to search but seems didn't managed to find it. If you could add a link to it here, that would be great.
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG