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
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)?
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.
Adaptavist Product Support
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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