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: 

date related query

Neeta Dubey
Contributor
April 16, 2015

I've request from user who wants to ensure that due date should always be 5 days greater than created date. This looks a simple request however i couldn't find any related post funtion /validator / or condition to achieve this.

Please help.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champions.
April 16, 2015

You'll need some code to do this, but the requirement is unclear.

Do you want to validate that the user has put in a due date of +5 days or some other rules (e.g. must be 5 days or greater)?  Or simply calculate it with a post-function?

I'd do it with the script runner in both cases, but I don't know if you have that available, or other addons that might help?