Can I change the parent of sub-task in Jira via REST API ?

Yakir Giladi March 14, 2018

Can I change the parent field of sub-task in Jira via REST API ?
I tried the command:

/usr/bin/curl -u admin:zubur1 -X POST -H Content-Type:application/json 'http://<my-jira>:<port>/rest/api/2/issue/<issue_key>' --data @@@jsonfile.json

jsonfile content:
{
   "fields":
    {
       "parent":
        {
              "key": "<issue_key>",
              "id": "<issue_id>"
         }
    }
}

I got HTTP response code 405 

There are other ways?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events