Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Iana
Contributor
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
Contributor
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 Champion
December 1, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events