How to update selectlist value

boss 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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