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

setting project picker value to 'None' using Jira Rest API


I want to update the 'project picker' value to None using Jira REST API for my script.

Below is the Json body that I am using to update project picker field value to None:

     "fields": {"customfield_12001":{}
This gives 400 error code. I am passing empty body. In my case, say customfield_12001 is Project picker field id.
Note: The above code - passing empty body to set value to None - works perfectly fine for user picker, version picker and all other Jira picker fields.

1 answer

1 accepted

0 votes
Answer accepted

Hi @dheeraj chittari 

Welcome to Atlassian Community !!

I am also still new to Jira API. but just a suggestion. Did you try providing null value like this ?

"customfield_10200": null

 Lets also take inputs from other Community Experts.




Thank you @Vishwas N M 

Above suggestion has worked.

In the process I found that it can also be solved using below piece of code



Just wondering, why "customfield_12001":{} (empty json body) does not work in case of project picker. 




Like Vishwas N M likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

148 views 3 11
Read article

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