I am creating JIRA Subtask using the below in POSTMAN:
URL:https://<host>/rest/api/2/issue/
{
"fields":
{
"project":
{
"key": Test"
},
"parent":
{
"key": "Test-123"
},
"summary": "Sub-task of Test-123",
"description": "Don't forget to do this too.",
"issuetype":
{
"id": "5"
}
}
}
In the response "key" is generated.
Using the above "key" how do I add attachments to the above subtask created?
what will be the request format?