Forums

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

How to update selectlist value

boss
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!
August 15, 2016

Good morning:

     env:JIRA .64  jira-python 1.07

        How to update listselect value? 

    Like this : 
          iss.update(fields={'customfield_12300':[{"value":"8"},{"value":"9"}]}) ,but exception  
    Can you give me a example

1 answer

0 votes
Tarun Sapra
Community Champion
August 15, 2016

If it's single select list, then you need to supply only 1 value , like 

issue.update(fields={'customfield_10100': {'value':'Two'}})

But in your code you are giving two values "8" and "9" , why is that, is it multi-select ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events