Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,331,496
Community Members
 
Community Events
169
Community Groups

Can I change sub-task parent using REST?

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

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

Is this still the case?

Same question. Is it supported now?

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

TAGS

Atlassian Community Events