Is it possible to set duedate with Jira in Python

kenneth May 12, 2020

Hi,

 

Is it possible to set duedate with Jira using Python. I tried Jira.client and atlassian api library. But couldn't able to update.

Below  code  used to update using Jira.client library. but I could able to update summary and other fields.

issue.update(fields={"duedate": "2020-05-22"} )

I got below error

JIRAError: JiraError HTTP 400 url: http://jira.mydomain.net/rest/api/2/issue/220370
	text: Field 'duedate' cannot be set. It is not on the appropriate screen, or unknown.

 

Please help

 

 

1 answer

0 votes
Lucy Adeke January 22, 2021

Hi @kenneth 

This is related to configurations in Jira.

Could you check the field configurations and verify that the due date is available on the add/edit screens for the issue type within this project.

Also verify that your user has the "Schedule Issues Permission" for the project.

Suggest an answer

Log in or Sign up to answer