issue = jira_authentication('AB-123')
issue.update(fields={'customfield_0000': 'Updating scrub note'})
customfield_0000 : My "customfield" to access the scrub notes
This thing is working for me but when I do this, the previous scrub notes are getting deleted and this is being overwritten by it.
Is it possible to Update the scrub note with the new value by also keeping the old scrub notes?
I am using Jira rest API and using python 3.7
Example
If scrub note previously is
"This is my scrub note"
When I run the above code,
I get my scrub note as "Updating scrub note"
But I actually want the old scrub note also,
So your solution should help me retain the old scrub note also,
When I run your solution the scrub note should be like this,
'Updating scrub note'
'This is my scrub note'
Thanks in Advance!!
Hi @Rocky
I don't think this is possible just by updating the issue. It will just overwrite what you have. What you could do is grab the current value of the field and then add what you want to that. Once you have that update the field.
Thanks,
Tim
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.