So I've written and tested a custom JQL function following what I thought was cloud based tutorials but apparently they weren't! When I attempt to include my addon on the market place (via the packaged up .jar) the "availability" is locked as "Only Server customers using products they host themselves"? Please note, I have used Atlassian Connect to successful build other Cloud addons but I must have missed the bit of documentation re building Cloud based functions?
Has anyone out there successfully create a cloud usable function, if so - how?
Ah, I see. But it's not doing what you suggest. The addon scrapes data out of JIRA and then allows you to run queries on that. It does not add a JQL function. Doing that is the only approach I think you can do with a Connect addon. You certainly can do "Issue in hasLink(blocks)" with that method - scrape the issue for its links and iterate over them for the name of the link type.
ewww - that's just nasty! I see your point but if I take that approach then anytime a tricky query is required I'd end up having to create a new ACE addon/report or simply re-invent a new Issues Navigator (like JQL Pro are doing). That really is a shame, as in this case the proposed function really is just a small change/extension to the Issues Navigator, and would allow us to use other existing features like the Bulk Change tool and Export; without the need to re-invent the wheel as they say. Thanks for your assistance Nic and Kathryn.
Yup, it is definitely not a solution I'd call "graceful" (Scraping a system to index it elsewhere when it's already got an index is never "graceful" IMHO) I'd raise the JQL function as a JIRA improvement over at https://jira.atlassian.com/browse/JRA (check to see if it's not already been raised if you can). If Atlassian accept it and implement it, Cloud will be the first to get it. (Let us know if you do that here, I'd vote for a generalised version of it)
I just searched the JIRA issue tracker and found several references to the type of issue I'm experiencing here. i left my vote and comment on JRA-25640 :: JQL function for showing all issues linked to any issue by a given issue link type.
Please vote and encourage this body of work!
Thanks for the quick response Kathryn. My function is pretty simple, given the Name of a Linkage type as a parameter it returns a list of Issues, i.e. it determines if an issue has a specific linkage inward or outward. An example of its JQL usage is: Issue in hasLink("Blocks").
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot