Is it possible to create custom JQL functions for JIRAs Cloud installation?

Hi every body,

I've written and tested a native JQL function. My question is, it is possible to create custom functions to use it in JQL search field ?

for exmaple: issueKey=Proj-2131 AND myFunction(key-12345)  AND projectId = .....

Has anyone out there successfully create a cloud usable function, if so - how?

 

Thank you in advance

2 answers

2 votes
Steven Behnke Community Champion Sep 02, 2016

No, it is not possible to add JQL functions to JIRA Cloud.

Thank you @Steven Behnke, is there any alternative for that ?

Steven Behnke Community Champion Sep 05, 2016

If you read ACJIRA-5, the JIRA issue that Robert linked, you'll notice that they are offering Entity Properties as an alternative to JQL functions. This is why Robert offered the workaround to use the Entity Properties.

You can apply properties to an issue. You can alias the property for searching via JQL, which will allow users to retrieve issues that match the appropriate property.

2 votes

I don't think that Atlassian Connect will give this to you either. Historically we have avoided allowing add-on provided JQL functions and have told people to use entity property index's instead: https://ecosystem.atlassian.net/browse/ACJIRA-5

You can raise another feature request in that JIRA project if you like.

However, my suspicion is that you can use indexed add-on entity properties to work around the need for a custom function instead. Have a look at the documentation for that: https://developer.atlassian.com/static/connect/docs/latest/modules/jira/entity-property.html

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

20,608 views 2 7
Join discussion

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