Is there a JQL that's able to get a list of stories in an openSprint (I do know how to get this list) but I also want a list of linked issues for "is dependent on".
Is this possible using JQL?
Thanks!
Hello @jodywhite ,
The Dependencies are based on issue links and the natively available JQL for issue links is going to be either of the following referencing Advanced search reference - JQL fields:
issue in linkedIssues(issueKey)
or
issue in linkedIssues(issueKey,linkType)
Noting that the values are relying on the source issue to define an individual issue to reference a source, but there is not a method to pass in multiple issues, and we have a feature request tracking interest in this at the following link. Make sure to add your vote to the request:
There is an option to accomplish this using SQL for Jira in this comment however that only applies to Jira Server or Datacenter versions, since you are on cloud an option to get around this would be to look at the third party plugin ScriptRunner for Jira which has scripted JQL functions that can isolate for link types, some details can be seen on their documentation pages here:
And some additional recommendations on using this function provided by ScriptRunner in the following Community posts where other users were looking for a similar action and this tool was the recommended solution:
Hope this helps get you on the right track
Regards,
Earl
That got me close to what I'm looking for. For now my JQL is, "project = PROJECTNAME AND issueLinkType = "is dependent on" AND sprint in openSprints() AND labels = LABEL_NAME"
That gives me a list of items in the sprint that has the issueLinkType of is dependent on, I used that for a board query, then I edited the card to show the Linked Issues on the card.
So I have a board of issues that have dependencies on other issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.