Forums

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

set a custom date field to current date with jmwe

Deleted user June 3, 2019

Hi there,

i want to set a custom date field to current date with jmwe.

I used the post-function "Set field value" but my groovy expression didnt work.

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Radhika Vijji _Innovalog_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2019

Hi

What expression did you try? Did you look into the "Expected value" tab in the Groovy editor help? It shows you what values does the field expect to be set.

You need to select the "Value Type" as Groovy expression and write this code in Value to set the date field to the current date:

new Date()

Regards,

Radhika 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events