Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Add parent and child value to the cascade field

Petr AST
Contributor
December 25, 2023

Dear Community!

Is it possible to add both a parent value and a child for it through the API?

POST https://domain_name.atlassian.net/rest/api/3/field/customfield_10071/context/10175/option

The child value is added only with the optionID, which corresponds to the parentID.
But how to get this parent ID at the time of creation?
Maybe there are alternatives to create both parent and child for it at once?

{
"options": [
{
"disabled": false,
"value": "New_parent_value"
},
{
"disabled": false,
"optionId": 10126,
"value": "New_child_value"
}
]
}

 Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events