[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

This widget could not be displayed.

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
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

514 views 3 18
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