Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL to get list of stories in openSprint with list of their dependencies

jodywhite February 9, 2021

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!

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 10, 2021

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

jodywhite February 11, 2021

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.

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events