Forums

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

Add days to the date fetched from created date field and populate another date field.

Sneha Gopinath December 30, 2020

Hello,

We need to populate a new date field by fetching the date from created date and add certain days to it and display the date.

We use Jira server version 8.8.1.

requirement: Date 1 = created date+ constant numeric number

Please let me know how can I achieve this with script?

 

Regards,

Sneha

2 answers

0 votes
Nic Brough -Adaptavist-
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.
December 30, 2020

There are a load of script samples for working with dates at https://library.adaptavist.com/search?page=1&products=jira&term=days

I did not find a specific script that does exactly what you want, but there are some that do similar calculations and others that show you how to write back a date field

0 votes
Gökçe Gürsel {Appfire}
Atlassian Partner
December 30, 2020

Hi @Sneha Gopinath ,

You can use Automation for this. A rule like below should work ( you can modify the trigger):

Screen Shot 2020-12-30 at 14.03.30.pngPlease let me know if you have further questions.

Cheers,

Gökçe

Sneha Gopinath December 30, 2020

Hello Gokce,

Thank you for your response!

I verified the Automation plugin and it is for pricing. As we cannot go for plugins which is for cost, let me know if there is any plugin for free.

 

Regards,

Sneha

Bill Sheboy
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.
December 30, 2020

Hi @Sneha Gopinath 

Depending upon which trigger and other features you want for automation, there is a free Lite version also:

https://marketplace.atlassian.com/apps/1211836/automation-for-jira-server-lite?hosting=server&tab=overview

Please look here for a comparison of the paid and free versions:

https://confluence.atlassian.com/automation/getting-the-right-version-993924597.html

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.8.1
TAGS
AUG Leaders

Atlassian Community Events