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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Unable to update Custom Field - getting 400 exception

Hi I am getting below exception when trying to update a custom field ( "Customer Request Type" - [cf12500])  after create JIRA ticket. 


<class 'jira.exceptions.JIRAError'>
(400, "Field 'status' cannot be set. It is not on the appropriate screen, or unknown., Field 'customfield_12500' cannot be set. It is not on the appropriate screen, or unknown.",

below is the python code: 

def createJIRASession(user,passwd):


     return jira
def updateJIRATicket(jira,tkt_number):

'''issues = jira.search_issues(f'key = "{tkt_number}"')

flds = {
'components' : [{'name' : 'FCS'}],
'labels' : [{'name' : 'FCS Monitoring'}],
"priority" : "Major",
"status" : "Ready",
"customfield_10702" : "GRS",
"customfield_12500" : [{"name":"Troubleshooting"}]
#fields['components'] = [{'name' : 'FCS'}]
issue = jira.issue(tkt_number)
except Exception as inst:
print(type(inst)) # the exception instance
print(inst.args) # arguments stored in .args

return issue


2 answers

Hi @Rajesh M welcome on the community.

You cannot set Status (if it is Jira Issue native Status - Todo, In Progress..) directly but you have to use transition to move issue to the status. Give a change to REST API endpoint:

Hi @Martin Bayer _MoroSystems_ s_r_o__ 

Thanks for your quick response and reference link.

Can you please advise on customfield_12500 ("Customer Request Type" / "Request Type"), which I am unable to set too.

Like Rajesh M likes this
0 votes

Hello @Rajesh M 


Can you make sure that using the UI you have this field on the screen and you can update it?


Hope this helps

@Mohamed Benziane  I have that field in the UI screen, I am able to change that field, but not through python program. 




<customfield id="customfield_12500" key="com.atlassian.servicedesk:vp-origin"><customfieldname>Customer Request Type</customfieldname><customfieldvalues><customfieldvalue data-key="lsos/da5686dd-6535-4174-8d8f-b068c38a7cb8"><![CDATA[ Other ]]></customfieldvalue></customfieldvalues></customfield>

Suggest an answer

Log in or Sign up to answer

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