Error when executing post fonction that sets today's date on a date custom field

Iana December 1, 2020

I configured a postfunction rule on my workflow that states :

On the transition from To do to In progress the field Start Date will take the value of the date of the transition. I tried the goovy functions new Date() and new Date().clearTime() and when I tested them it worked. But then when I tried to transition an actual ticket from To do to In progress I got this error:

 

Erreur WF.PNG

Our Jira is configured in french.

Any ideas on what/where the problem might be?

Thanks in advance.

Iana

2 answers

1 accepted

0 votes
Answer accepted
Iana December 1, 2020

Nevemind! I have solved the issue in the meantime. The problem was that in the post-fonction confiuration Value type was not set to Groovy Expression. Once I did it, it worked perfectly. 

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events