We’re currently testing the trial version of ScriptRunner. We’re running Jira Cloud and Service Desk. Our main use would be to filter different types of Service Desk issues with linked issues.
I’m trying to set-up a filter which would show only issues from Service Desk with no linked issues.
Since the Jira command “issueLinkType is EMPTY” doesn’t seem to work anymore, I have tried using this one in the Filters JQL field:
However, it doesn’t work, I get an error:
"Field 'issueFunction' does not exist or you do not have permission to view it."
What kind of query should I write? Are there any other functions which work similarly?
Hi nota that issueFunction is provided by Script Runner, so please ensure that Script Runner is already installed on your system.
Alternatively, you can also use JQL Booster Pack and type the following using the Advanced Search feature:
1) Show issues with no linked issues
project = X and issue NOT IN hasLinks()
(*) Note that this is just an example, you must tune above query to fit your needs.
Using this app you can also query other issues relations, check:
As hasLinks is a JQL Keyword inside of ScriptRunner for Jira Cloud you do not call it using issuefunction and you can see an example of how to use the keyword in the Knowledge Base Article linked above.
I hope this information helps.
Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events