The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create custom JQL functions for JIRAs Cloud installation?

Brahim ESSALIH
Contributor
September 23, 2016

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Petar Petrov (Appfire)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 23, 2016

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).

Brahim ESSALIH
Contributor
September 25, 2016

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
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2016

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

Brahim ESSALIH
Contributor
September 26, 2016

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

Like Thao Nguyen Thi Thu likes this
Abhinav Ojha
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 14, 2018

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.