I'd like to automate the setting of "Due Date" by taking "Actual Start Date" and adding the "Original Estimate" time to it. So something like:
Due Date = Actual Start Date.value + Original Estimate.value
I've tried various forms of this -
{{[Actual Start.value].plus[Original Estimate.value]}}
Hi @Lisa Hauser -- Welcome to the Atlassian Community!
Please try the date / time functions for plus[some unit of measure]()
Assuming your "Actual Start Date" is a date / time custom field, and that is the correct smart value for the field:
{{issue.Actual Start Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
To confirm the smart value (or custom field id) for your field, please see this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
Hi Bill, thanks for the quick response. I've tried the following after finding the fields and values in the Json. Any other ideas on how to automatically set the due date by adding original estimate days to the start date ?
{{issue.timetracking.Actual Start Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
{{issue.Actual Start Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
{{issue.customfield_10008 Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
{{issue.customfield_10019 Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
{{customfield_10008 Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
{{customfield_10019 Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
{{customfield_10019.customfield_10008 Date.plusSeconds(issue.timetracking.originalEstimateSeconds)}}
Here is the Json sections where I found the fields:
"timetracking": {
"originalEstimate": "2d",
"remainingEstimate": "2d",
"originalEstimateSeconds": 57600,
"remainingEstimateSeconds": 57600
customfield_10019": "0|i1cx0r:",
And I believe this is the Actual start date -
customfield_10019": "0|i1cx0r:",
"customfield_10008": "2024-08-06T09:07:00.000-0700",
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Several of those smart value expressions you show are invalid and will not process.
The example I provided will work if that is the correct smart value / custom field id for your field. Have you confirmed the smart value for your field, as I described in my first post?
To provide more context, please post images of:
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.