Forums

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

How set the resolution and resolution date using jira-python in Jira Cloud

Francois Jautard October 26, 2018

Hi,

I cannot set resolution and resolution date using jira-python.

jira.transition_issue(jira_issue, transition=11, resolution={'name': 'Done'})

The given error is:

Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown.

I tried plenty of tests but no way.

Mayday mayday!

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2018

This is what it says - the field "resolution" is not on the edit screen, so you can't change it.

The obvious answer is "add it to the edit screen", but in reality DO NOT DO THIS.  If you do, your users will set a resolution, hence closing every issue, on every edit.

You should only put resolution on transition screens - i.e. set resolution when closing an issue.  This also applies to the process you are trying to automate with python.  You should only set resolution as part of a command to close the issue.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events