Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,197
Community Members
 
Community Events
168
Community Groups

Automating Due date from Start date

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

2 votes
John Funk Community Leader Aug 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. 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,013 views 18 31
Read article

Atlassian Community Events