Create custom JQL functions for JIRAs Cloud installation?

Hello every body,

I'm usin JIRA cloud instance. When I make a JQL query I need to display only parent issue.

for example:   project = TEST AND subtasks has summary = "sub-task  summary"

I know that there is a plugin for JIRA server which allow adding custom JQL functions but for JIRA cloud instance I don't know how I can process.

Would you have any idea ?   

Thanks in advance

Best regards

2 answers

1 accepted

This widget could not be displayed.

There is no JQL function extension point for JIRA Cloud so there are no add-ons that can add new JQL functions - you are stuck with what you have out of the box.

The only solution currently is to pull the issue data from JIRA via REST and then do a search on the client (which is a horrible thing to do really with regards to performance).

Thaks guys, I try ScriptRunner for cloud but It doesn't work it display all the time 

Field 'issueFunction' does not exist or you do not have permission to view it.
This widget could not be displayed.

This question looks exceptionally similar to a previous question that you have asked: https://answers.atlassian.com/questions/41452591

Thanks @Robert Massaioli.

 Yes because I don't know how I can use entityproperties to get only parent issues?

Would you have any propositions ?

I need to do something like 

issueFunction in parentsOf("project = TEST")   // plugin ScriptRunner

using entityProperties

Thanks in advance

Hi @Brahim ESSALIH,

How we went about this is, by creating a re-indexing kind of page, which gets all the data via REST (the data on which you want to search) and store them in a proper format and create entity property based on that property.

You can even have webhooks to keep the data in property in sync.

Thanks,

Abhinav.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday 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...

40 views 0 1
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