Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating new issues with Select List (cascading) field using JIRA REST API

I'm trying to inject a new JIRA issue using JIRA REST API. with JSON format 
Generally it works, however it doesn't work when a "Select List (cascading)" field is missing the child value (to be specific the field has only parent values but no defined children).

The JSON line looks like this: "customfield_22222": {"value": "Test", "child": {"value":"None"} }

And the received error is: {"errorMessages":[],"errors":{"customfield_22222":"Child Option value 'None' is not valid"}}

Using other child values such as null, "", etc. also didn't solve it.
Will be glad to learn from your experience.

1 answer

1 accepted

2 votes
Answer accepted
Thomas Deiler Community Leader May 06, 2021

Dear @Plotnik_ Guy ,

welcome to the comunity.

I just wrote a new article for your: How to set select lists (single, multiple, cascading), radio or checkboxes on create issue with REST

So long and thanks for accepting my answer

Thomas

Thank Thomas, it worked!
Much appreciated!
Guy

Thanks, helped.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you