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?
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.