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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.