Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,601
Community Members
 
Community Events
185
Community Groups

Create Issue filter with "no linked" issue

we have ticket type in JIRA called "incident" with an option to link it to another ticket type called "improvement" . 

The link type is "relates to" 

How can i search for "incident" tickets that does not have linked "improvement" to it ? 

i am trying to use "Issues" --> "Filters" but cant find the correct syntax for my needs. 

Oren 

4 answers

1 vote
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 19, 2017

It's easy if you have the "script runner" plugin installed -

type = incident and issueFunction not in linkedIssuesOf("type=improvement","relates to")
Karalee Kikiros
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 Leaders.
Mar 20, 2017

Just a head's up as you haven't explicitly called out whether you're on server or cloud that although you can install Scriptrunner for cloud, the additional JQL only works on server. 

With script runner on JIRA cloud there is a new feature JQL Keywords.

You have to synchronise issues and then you can user in advanced JQL the keyword :  numberOfLinks

project = PRJ AND issuetype = Type AND numberOfLinks = 0

See doc : https://docs.adaptavist.com/sr4jc/current/scriptrunner-jql-keywords-functions/jql-keyword-examples#id-.JQLKeywordExamplesvCurrent-numberOfLinks

Well, the title says "no linked" issues, which ideally means that I want to find issues that do not have anything linked to them. At least, that is what I came looking for. If someone else is looking for the same, here is the solution for it:

project = XYZ AND issueFunction not in hasLinks()

Hi,

Currently it is not possible. Check this post for some alternatives and additional information:

https://answers.atlassian.com/questions/166537

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events