if issue.fields.duedate is not None:
changelog = issue.changelog
for history in changelog.histories:
for item in history.items:
if item.field == 'duedate':
print('Date:' + history.created)
example: when issue was created, duedate is '12-09-2019' but someone or the other changed to '18-09-2019'
how to know whether duedate has changed from original duedate or not??
I do not python but below code might help you.
changeHistoryManager = ComponentAccessor.getChangeHistoryManager()
duedateChanges = changeHistoryManager.getChangeItemsForField(issue, "duedate")
You can get dueDate field changes and check whether there is at least one change.
I hope I was helpful
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event