Forums

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

Update optionID of a custom field cascading list option via API

Natallia Pliashkun
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2023

Hi, I'm trying to find a way to update an optionID for the custom field cascading option. The UPDATE call works itself, but whenever I'm trying to add "optionId" in the payload for the update PUT request, it fails with invalid payload 400 error. 

I believe UPDATE does not allow to change the parent of the option, is there any other way to do so? The use case is the following: I am getting custom field options from an external API; and parent there may change, but I want the tickets that have a child option selected to update field value automatically

 

there is a way to retrieve all tickets that had old child option selected, recreate a child option, and update custom field value for all the retrieved tickets, but maybe there is a better way?

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events