Automating Due date from Start date

Luke Shaheen August 26, 2022

I'm trying to use automation and can't seem to use Start date to set Due date. I simplified it down to this example and it's still not working. Audit log shows it ran sucessfully but no output (from the 3rd component). If instead I do now.plusDays(7) it works. There's just some trouble accessing the Start date.Capture.PNG

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 26, 2022

Hi Luke - Welcome to the Atlassian Community!

Sometimes there are some duplicate Start date fields that get created out there. Try using the id of the field instead of the field name. It will look something like:

{{issue.customfield_16945.plusDays(7)}  where the 16945 number is just an example. To find the id in your instance, go to Settings > Issues > Custom Fields.

Search for Start date. Then click on the 3 dots menu to the right and select Edit or Context and Default values. On the next screen look in the URL at the top - you will see the ID there. 

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.
August 27, 2022

Hi @Luke Shaheen -- Welcome to the Atlassian Community!

Yes, and...to John's answer:

You may find all of the supported smart values (and their spacing / capitalization / custom field ids / structure) for an issue, using the information in this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

Luke Shaheen March 31, 2023

Thanks guys, this worked. Sorry for the very long delay in replying.

Like # people like this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2023

Great! Glad you got it working

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events