The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Offset custom date fields

Deleted user
September 22, 2019

I have several custom date fields. Can I fill in the first date and then get the others to automatically populate 5 months, 3 years and 5 years from the date I entered?

So if I set Date 1 to 22 Sep 2019, I want Date 2 to automatically set to 22 Feb 2020, Date 3 to be 22 Sep 2022 and Date 4 to be 22 Sep 2024.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
robert Mugabuhamye
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 Champions.
September 22, 2019

Hello @[deleted]

You will have to go for a scripted field.

The solution will be to use the add-on scriptrunner or power script. 

 

Here is an example with script runner 

 

https://mraddon.blog/2018/12/10/date-scripted-field-example-using-scriptrunner-for-jira-server/

TAGS
AUG Leaders

Atlassian Community Events