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

3 votes
Answer accepted

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.
2 votes

This question looks exceptionally similar to a previous question that you have asked:

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 ESSALEH,

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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

393 views 6 0
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