Hello, i have a short question.
I have a question field and i wanna change the value with the python rest api.
This field is in the issue:
"customfield_13211":"123",
When i try to change the value, i get this error:
"errorMessages":[],"errors":{"customfield_13211":"Field 'customfield_13211' cannot be set. It is not on the appropriate screen, or unknown."}}
The command is:
issue = jira.issue('Ticketnumber')
#issue.update(fields={'customfield_13211': '64'})
Can someone help me?
This is what it says it is.
Imagine a human user looking at the issue you are wanting to edit. They log in, go to the issue view and click "edit". They'll get a screen with a list of fields they can change.
The field with id 13211 is not on that screen. (The numeric id is the number you'd find in the database as the unique and immutable identifier of that custom field, rather than its display name or object-code)
Hi
Is that a field with combo box?
You need de ID value of the customfield, you would try with this line:
jiraIssue.update(fields={"customfield_13211":{'id':'[your new id]'}})
if you want to know the ID value, use the rest api
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.