You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I am looking to set my due date field in Jira automation so it takes the value in start date and adds 7 days. Mind helping me out?
Here is what I tried (which didn't work obviously):
Thanks for your time.
Hi Jonathan,
Can you share the entire rule?
Are you updating the Due Date based on the Start Date in the same issue? Or from a Trigger issue? Because what you have should work in the same issue. Otherwise you should use
{{triggerissue.startDate.plusDays(7)}}
Same issue. Parent's due date should be based on the parent's start date+7.
I am planning to remove due date from the create screen, but want it filled out and available in view/edit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Trigger did not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you would not use triggerissue in this case because it is the same issue.
And if you just use issue.startDate then it does not work either?
I would suggest using the ID of the custom field then. The syntax would look like:
{{issue.customfield_10779.plusDays(7)}} where 10779 in this example is the value of the Start Date field. To find that, go to Settings > Issues > Custom Fields.
Search for the field. Then click the 3 dots menu on the right hand side and select Contexts and Default Value. Then look at the URL to find the ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BINGO - {{issue.customfield_10015.plusDays(7)}} worked.
Thanks for your assistance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this
{{triggerIssue.startDate.plusDays(7)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{sprint.startDate.plusDays(7)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Start date wouldn't always be "now", it could be a future date. The code supplied would be due date = now +7, which doesn't work for my requirements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.