Forums

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

Set/unset parent/child fields on issue in next-gen projects via the REST API

James Sear
Contributor
July 23, 2019

In next-gen projects, epics can have child issues. This is clearly marked as "child" on the epic and as "parent" on the issue. 

As far as I am aware this is a different system from both issue links and epic links (found in classic projects).

I have not found a way to set or unset the parent/child programatically. I have tried:

/rest/api/3/issue/KEY-123

{
"fields": {
"parent": {
"key": "KEY-456"
}
}
}

 

/rest/api/3/issue/KEY-123

{
"update": {
"parent": [
{
"set": {
"key": "KEY-456"
}
}
]
}
}

 

One returns a 204 and one returns an error message. Neither work. I've also tried various other combinations using IDs as opposed to keys.

 

Is this possible? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events