Hello All,
Is there any way in jira server to export subtask issues with their related epic links/name.
Thank you in advanced.
Regards
Pallavi Deore
Sub-tasks don't have an Epic link. They are included in an Epic by virtue of being part of their parent issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you've got Scriptrunner, you can use the issuefunction to find the issues, as Alex says, but that won't get you the epic link in the output (because there isn't one for sub-tasks)
What I would do is create my own reporting field. Again with Scriptrunner. You can use it to define scripted fields which report data calculated automatically, usually from other fields on the issue.
You'll need a short script which says
The last time I did this, the client actually wanted the Epic's issue key to come out as a link so they could click straight through to the Epic - there's plenty of flexibility on what you choose to return in the field.
The reason I do it for all three levels of issue type is that I want it in one field in my reports, I don't want to have to have three columns (epic name, issue epic link, sub task epic link)
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.
Hello Alex,
I have tried in Search issues
parent = EPIC-LINK
but that does not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pallavi Deore it doesn't work, because I gave you wrong instruction :(
This JQL will give you the parent of the subtask, meaning a standard issue type and not an epic. So this is not the solution. So, out of the box there isn't much to do.
But if you have scriptrunner you could do the following:
issuefunction in subtasksOf('issueFunction in issuesInEpics("issuekey=ATK-5")')
Where ATK-5 is the Epic link. This ought to work!
Alex
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.