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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL - Check if issuetype "RfC" has a linked issuetype: Test (Zephyr)

I would like to create a result list with JQL with following conditions:

Show all issuetype "RfC - equest for change" which NOT have a linked to a issuetyp "Test (Zephyr)

 

Something likethis

issuetype = "RfC Request for Change" and status not closed and is NOT (linked issuetype "Test")

 

 

2 answers

0 votes

Hi @Roger Greuter

two questions:

1.) is this a Jira Cloud or a Jira Server instance?
2.) do you have any scripting/JQL extending Apps available?

I know using ScriptRunner on Jira Server you can use the following query:

issuetype = "RfC Request for Change" AND status not in (closed) AND issueFunction in hasLinks() AND issueFunction NOT in hasLinkType(Blocked)

Now I see you asked for a check of the linked issue type, but good news: this is also possible:

issuetype = "RfC Request for Change" AND status not in (closed) AND issueFunction in hasLinks() AND issueFunction NOT in linkedIssuesOf("issuetype = Test")

In case you have no such App available with that capabilities, I am afraid that I do not know a way to do it "out of the box".
For suitable Apps there may be several available from Marketplace, however I am only familiar with the one mentioned above.

Regards,
Daniel

Hello Daniel

Thanks helping me.

a) Jira Server

b) not extending apps (as far as i know)

To bad thanks.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you