On my on-prem jira server, scriptrunner solves my problem by allowing me to use these two issueFunction to find stories that are linked to defects that have certain criteria.
Is there a way to perform similar jql in Jira Cloud?
According to scriptrunner site: https://scriptrunner-docs.connect.adaptavist.com/jiracloud/jql-functions.html one function is not available and the other is In development for the cloud. Any help would be appreciated, as I'm out of ideas.
Hi Pawel,
Thank you for your question.
I can confirm that the documentation page that you have linked to above is an old cached version of the documentation.
I can confirm that ScriptRunner for Jira Cloud does contain the hasLinks function as a JQL alias as described in the documentation page here.
As it is a JQL Alias you do not provide the issueFunction in part of it and the documentation page above shows how to run a query using the hasLinks JQL Alias inside of Jira Cloud.
You can also use the linkedIssuesOfRecursive() function inside of the Enhanced Search Page as described in the documentation page located here.
Finally, I can also confirm that you can see more detailed information on the differences between the cloud and server versions inside of our documentation page located here.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
Regards,
Kristian
This is great, thank you Kristian, exactly what I was looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawel,
I am glad that my response, helped you to solve your requirements.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The link to the hasLinks alias does not work and I couldn't find any documentation about this hasLinks now.
Is it really support in the Cloud?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thierry Dalon All "add-ons" to Jira have been effectively moved to Apps. Adaptavist ScriptRunner add-on is now separate from the normal issue search and filter dialogs, though integrated in a weird way. It is now called ScriptRunner Enhanced Search. If you have access to it, it would be found in either the Apps top menu bar and/or on certain screens near the bottom of the left nav panel.
Such "enhanced search" filters must be managed outside of the normal filter function. Filters created through the Enhanced Search interface do create "normal" filters, but care must be taken not to modify them through the normal filters interface. You will want to enable the dynamic sync option when you create the filter (checkbox when saving the enhanced search filter). You can determine that a filter was created by SRES by examining the filter description - it will say something like, "Filter managed by ScriptRunner: ..."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On Cloud JQL Search Extensions for Jira & reports can help you to get the required results.
Please look into following queries which can help you.
Then, find the stories which are parents of issues matched by the base query:
type=
"Story"
AND
parentOfQuery=
"status!=\"Done\" AND priority=\"High\""
Find all issues which are blocked by another issue
linkType =
"is blocked by"
Find all issues which are linked by issues in "To Do" status.
linkedIssueStatus =
"To Do"
Find all issues which are linked by Bugs.
linkedIssueType = Bug
I just provided few examples, which i used to , you can find more queries here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.