I am trying to create a new JIRA Issue under an existing EPIC. But when I try to specify the Issuetype I get an error that the issuetype used is a parent issuetype. Please help with the Rest API code to add a child issue under an existing EPIC project type.
Thanks!
Figured it out. You need to add the Epic link Field as key in order to create an issue under a particular EPIC
I believe it is the same as creating a sub-task in Jira - you need to specify the parent issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share your findings then? So, others interested, will be “educated” :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, here is what is needed to make the issue creation within an EPIC project work:
{ "fields": { "project": { "key": "PRA" }, "customfield_10830": "[entry.JID]", "summary": "Issue creation", "description": "This enables Issue Creation within EPIC", "issuetype": { "name": "PRA Requirement" }, "assignee": {"name": "[owner]"}, "priority": {"name": "Major"} }, } }
Important field to note is customfield_10830 which refers to the "EPIC Link" field. This is a custom field which will have a different number depending on how your JIRA instance has been set up.
The issue type in my case is a custom issuetype, but can refer to a standard issuetype within JIRA. You need to specify the issue type which will get created under the EPIC hierarchy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for sharing this, so the idea is to get the correct field used for "epic" links and set it to Jira issue key (corresponding to your epic)
Great!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Guys, what do we mention in
"[entry.JID]"
I have tried the name and number both of the EPIC but still getting the error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "JID" is the field (name in ConfiForms) where they store Jira issue key (to be used as "EPIC")
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.