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
<span>"fields"</span>:{
<span>"summary"</span>:<span>"create BUG under epic test"</span>,
<span>"description"</span>:{
<span>"version"</span>:<span>1</span>,
<span>"type"</span>:<span>"doc"</span>,
<span>"content"</span>:[
{
<span>"type"</span>:<span>"paragraph"</span>,
<span>"content"</span>:[
{
<span>"type"</span>:<span>"text"</span>,
<span>"text"</span>:<span>"Please find the details"</span>
}
]
}
]
},
<span>"project"</span>:{
<span>"key"</span>:<span>"TEST"</span>
},
<span>"issuetype"</span>:{
<span>"name"</span>:<span>"Bug"</span>
}
}}How to create the above BUG under the epic key TEST-12 ?
Thanks