You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
issue.update(fields={'customfield_10100': {'value','Two'}})
I have a multiselect list and below error occurs if i try to update
"response text = {"errorMessages":[],"errors":{"Custom_field":"data was not an array"}}"
Hi Amar,
I was able to set the field values for a multi-select field by correcting the syntax of the code you provided. I used the REST API Example as a guide. If you change the code to read as
issue.update(fields={'customfield_10100': [{'value':'Two'}]})
I believe it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey i need to modify single select field (drop down) i tried below code.
1. issue.update(fields={'customfield_11104': 'Staging'})
2. issue.update(fields={'customfield_11104': [{'value': 'Staging'}]})
3. I tried this one also issue.update(fields={'customfield_11104':[{'value':'46707'}]})
but got the error like
response text = {"errorMessages":[],"errors":{"customfield_11104":"Could not find valid 'id' or 'value' in the Parent Option object."}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The metadata for my single select dropdown field includes "set", "value" and "id" and I found that only "id" worked as follows:
issue.update(fields={'customfield_11104': {'id':'10034'}})
I found the "id" for my field as follows:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.