I've found bits and pieces but haven't yet been able to put them together.
I would like to be able to query all issues that:
The idea is to identify all tickets that can now be worked on, based on dependencies being completed.
Can this be done with JQL in stock Jira? Can it be done with ScriptRunner?
Howdy Jonathan,
Using Scriptrunner, you could do something like:
issuefunction in linkedIssuesOf("issueFunction in linkedIssuesOf('statusCategory = Done')","Relates To")
The first IssueFunction is looking for results of the `linkedIssuesOf` issuefunction, where we're ensuring everything is in a Done statusCategory that is using the `Relates To` link type.
Here's Adaptavist's documentation with a heap of other examples of how you can use issuefunctions in your JQL: https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/issue-links
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.