I can be able to create a JIRA issue with the type of BUG How to create this issue under already created epic on my project.
Name of the epic ID - TEST-12.
I have searched a lot but I couldn't find any documentation that related to this.
https://your-domain.atlassian.com/rest/api/3/issue
My request object is as follows
"fields":{
"summary":"create BUG under epic test",
"description":{
"version":1,
"type":"doc",
"content":[
{
"type":"paragraph",
"content":[
{
"type":"text",
"text":"Please find the details"
}
]
}
]
},
"project":{
"key":"TEST"
},
"issuetype":{
"name":"Bug"
}
}}
How to create the above BUG under the epic key TEST-12 ?
Thanks
I just figured it out
Simply query the fields
https://your-domain.atlassian.net/rest/api/3/issue/createmeta?projectKeys=TEST&issuetypeNames=Bug&expand=projects.issuetypes.fields
And attach the epic link field ID as customfield_#### in the request that pointing to the TEST-12
for me it was
I just referenced the customfield with epic link issue ID
customfield_10013 : "TEST-12"
Thanks
Ahamed
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.