currently I am using custom python script to pull data from external sources and update jira ticket with it. This part is working perfectly.
My question is about logging what was really updated. In best case I want push comment to ticket saying something like : "customfield_123" changed from X to Y".
For update I am using dict with values so making such comment should be easy, but...
let say I want to update:
a = 10
b = 20
c = 15
but c is already set to 15 in jira ticket, therefore this value is not updated (field already have same value). So update changelog should says that A and B was changed only (not C): "A was changed from None to 10, B was changed from 10 to 20".
What would be proper way to do such logging ? Does python-jira already has something like that ?
Thanks in advance
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events