Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change parent of sub-task using REST API

Varrun SS May 17, 2019

Assume TEST-101 is a sub-task under TEST-100. I want to change the parent of sub-task to TEST-102. But the REST API is not updating the parent

 

PUT: https://intelligenceapp.atlassian.net/rest/api/3/issue/TEST-101

{
  "fields": {
     "parent": {
          "key": "TEST-102"
       }
    }
}

 

Please let me know if this is possible via REST API ?

 

Thanks,

Varun

1 answer

1 vote
Tarun Sapra
Community Champion
May 17, 2019

Hello @Varrun SS 

Currently it's not possible to change the parent of the sub-task via the REST API

Please see the response from Atlassian on this question

https://community.atlassian.com/t5/Jira-questions/Can-I-change-the-parent-field-of-sub-task-in-Jira-via-REST-API/qaq-p/750954

Tarun Sapra
Community Champion
May 17, 2019

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events