Cannot update a custom field on a post transition function

Joan Andreu Juan Torrens April 15, 2021

I want a datetime custom field to be updated with current datetime on certain transitions.

I have created the custom field "Data efectiva lliurament"

Then in the workflow transition I have added the %%%%CURRENT_DATETIME%%%% value as shown in the picture.

postfunction.png

But when doing the transition of the issue... it fails.

error.png

Can someone help?

I have already checked that the custom field is available in this project.

1 answer

1 accepted

2 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 15, 2021

Hi @Joan Andreu Juan Torrens,

I don't know why this is happening, but you have too many %%%%%%%%%%%%%% signs there in your screen (definitely in the instructions too, so don't blame yourself).

Normally, this should work:

%%CURRENT_DATETIME%% 
Joan Andreu Juan Torrens April 15, 2021

So simple. And it worked. Thank you very much @Walter Buggenhout 

Like Walter Buggenhout likes this

Suggest an answer

Log in or Sign up to answer