Set a value for date type custom field based on the created date of issue

Daisuke Niwa February 12, 2013

Hi there,

We would like to do following.

1. create a date type custom field.

2. when you create a issue, the value for that custom field is automatically set to 5 days after issue created date.

Is it possible to achieve the above purpose? We can consider buying commercial plugin if necessary.

Regards,

Daisuke Niwa

2 answers

1 accepted

0 votes
Answer accepted
Mizan
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.
February 12, 2013

One possible solution is to write a groovy post function which will update the value of the customfield to created + 5D .You will need script runner plugin for this .

Also refer this question

0 votes
Renjith Pillai
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.
February 12, 2013

Suggest an answer

Log in or Sign up to answer