Can I change sub-task parent using REST?

Fernando Boucquez (PPL) September 24, 2014

Scenario, Subtask SCRUM-1 has issue SCRUM-2 as parent. I want to change the parent to SCRUM-3.

REST: api/2/issue/SCRUM-1 (PUT)
{
"fields": {
  "parent":{
  "key": "SCRUM-3"
   }
 }
}

Result is null, SCRUM-1 parent doesn't change, still pointing to SCRUM-2.

Also tried the 'update/set' version of the body but no luck

I'm testing it using the rest browser, atlas-sdk running JIRA version 6.4-OD-04-006. 

Looks more like a bug but I prefer to ask before raising an issue in JIRA.

Thanks 

Fernando

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Hiren Savalia September 7, 2015

This is not supported through JIRA REST yet. You can not change parent of any sub-task using REST api.

Harold Dost February 13, 2018

Is this still the case?

Bohdan Musiienko July 16, 2018

Same question. Is it supported now?

Varrun SS May 16, 2019

Does the latest API allow the parent of sub-task to be changed? 

TAGS
AUG Leaders

Atlassian Community Events