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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.