I am trying to update a custom field on a post function inside a transition.
The post function is executed when Issue is moved from state 'IN REVIEW' to state 'TO DO'.
Datetimes array is a custom field of type Text(multiline)
The issue is setting the date, but not appending future changes
And this is the history of the issue
Hi Daniel - Welcome to the Atlassian Community!
I don't know what it is not appending the value and is instead replacing the value. You might want to create a support ticket for Atlassian to investigate.
Another option is to create an Automation For Jira rule and try to append it that way.
Opted for this solution, added a rule triggered by the transition from `IN REVIEW` to `TO DO` to add a comment with the date, just a workaround, will see if I can hide the comments and disable each notification for this particular rule, thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's because the function you are using is for updating fields, not adding to them. If you were using a field that has multiple values, it would be adding to it, but you're using a text field, which is a single value, so it's updating.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, that description is very misleading then as it says it will append the value. "If set, the given value will be appended to the field."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought of that as well, so I tried to change the value from '%%CURRENT_DATETIME%%' to '*' which it would append to the current value, resulting in an iterative 1 line * per trigger
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.