Forums

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

JIRA Python Update Multiselect Custom Fields on Transition

Ali Allso
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!
November 2, 2020

Hello,

I am trying to transition my jira issue. During the transition there is a workflow pop up containing a multiselect customfield. I can move between the two transitions but am unable to update the multiselect to having {checked: True}, the error being 'text: Field 'customfield_10000' cannot be set. It is not on the appropriate screen, or unknown.'

Code:
jira.transition_issue(issue, '12')
issue.update(fields={customfield_10000=[{'checked':True}]})

It also does not work if I try to update during the transition:

jira.transition_issue(issue, '12', fields={customfield_10000=[{'checked':True}]})

Error: 'text: Options cannot be added or removed from a Checklist when updating it via REST. You must provide all items originating from options.'

I need the customfields to be checked in order to gain access to other transitions as per the workflow. 

Any help on this will be greatly appreciated. 

Thanks, 

Ali

0 answers

Suggest an answer

Log in or Sign up to answer