We are moving stories from one project to another. Before doing so, we need to move parent Epics first.
is there a JQL to list out all the Epics that stories from Project A are tied to?
You cannot do that with JQL but you can from the one from apps such as Scriptrunner.
issueFunction in epicsOf("project = A and type = Story")
You can also do it with multiple search
project = A and type = Story, then export all stories (including at least the "Epic Link" field)
Then in excel remove duplicate of the column "Epic Link" then copy all remaining value and run a JQL such
key in (list of epics keys)
Note that you shoud have add a comma to seperate the keys.
Regards
As you're on Jira Server, the correct answer is to get an app that provides JQL extensions you're looking for.
With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.
Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions
You can use this function to find all epics that have a story from project A
issue in epicOf("issuetype = Story and Project = A”)
Check out the documentation for more examples.
If you have any other questions, please contact our support. We’ll be happy to help you!
Best regards,
Maurício
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just to add to Florian's answer, another option is to go with one of the hierarchy-focused apps from the Atlassian Marketplace. These apps often have more powerful ways of navigating and searching through issue hierarchies.
As an example, your use case would be trivial to solve in the app that my team is working on, JXL for Jira. You would simply,
The resulting list of epics is exactly what you're looking for. You can now operate on these issues directly in JXL, trigger various Jira operations, or export your issues to e.g. Excel or Google Sheets.
This is how this looks in action:
(Just a note, as it seems like you're on Jira Server: While new apps can no longer be listed for Server on the Marketplace, JXL is perfectly compatible with Server; it's just that we need to generate a license for you. If you're interested in JXL, just let me know, I'm happy to create a free trial license.)
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community !!
If you are fine with a mktplace app, you can try out our plugin to view complete hierarchy of your cross project linked issues
Agile Tools : Epic Tree, Links Tree, Time in Status & Worklogs
Disclaimer : I am part of the team which developed this app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.