Hello, I want to write a script that updates a checkbox field without overwriting previously entered values.
Using the "edit issue" in such a way overwrites previous values.
Pretty sure I need to use the "advanced field edition" using the Json format and the "update" key but I find no accurate documentation about it.
Anyone to help?
Thanks
Please take a look at this documentation page: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-select-custom-field
To add to a multi-select option field, you would want to use "update" and "add", rather than just the shortcut version with "fields".
Another option is to capture the existing values in a created variable and re-add the values with the new ones in one single edit.
Kind regards,
Bill
Alright thanks for the reply @Bill Sheboy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.