[linkedIssuesOf] enforce check condition on ALL linked issues

I am currently trying to build a query that returns all tickets for which EVERY link to a target project has a specific status. My problem is that if a ticket has two links to a target project, one with the expected status and the 2nd with an incorrect status, the ticket is still listed

e.g.

project = HZN4PD AND issuetype = "Product User Story" AND issuefunction in linkedIssuesOf("project = ONEMUI AND status = Done")

Returns tickets that have a different linked status as Done (if it also contains a linked status with Done)

How can I make sure that it checks the "AND status = Done" condition for ALL linked issues in project ONEMUI?

What I found out is that when you specify the Link type, like this:

project = HZN4PD AND issuetype = "Product User Story" AND issuefunction in linkedIssuesOf("project = ONEMUI AND status = Done", "Is implemented in")

It enforces the check to only that link type (instead of all types). Is it possible to group more types into this single argument (I tried several combinations, non worked)?

 

1 answer

Hi Lucas, 

Unfortunately there is not currently a built in solution for this. However, you can develop a custom JQL function to achieve this functionality. 

We have added this as an improvement for the future. If you or anyone else wants to watch progress on this you can follow along here

Kind regards,

Katy

Adaptavist Product Support 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 2 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

15 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you