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,293,494
Community Members
 
Community Events
165
Community Groups

How can I use automation to automatically update start and end dates for epics and issues?

Edited

Capture.PNGHello! 

I frequently use zapier and airtable automation, but I am new to jira automation.

Right now, my team is using only the sprint field to determine when we will complete and finish work.

There are some integrations I'd like to use for road mapping that will make it easier for me to communicate our timelines to stakeholders, so it would be beneficial to start using start date and end date fields

I would like to create an automation that can update all of the issues in my project with a start date and end date by looking up the sprint start date and sprint end date

And I would like those start and end dates to automatically update if the issue is moved to a different sprint.

I tried setting up an automation that triggers when an issue is updated, filters for issues where the due date is empty, and then edits the field issue to {{issue.Sprint.endDate.jiradate}}. This didn't appear to work. What am I doing wrong?

 

1 answer

0 votes
Simmo Atlassian Team Jun 05, 2022

Hi @Allie Nelson,

I'm afraid that the reason why this isn't working is due to there being a one to many relationship between an issue and sprints. An issue can have multiple sprints, so that field Sprint is a list type. There's some good available on https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/ around using lists that will help. There isn't an easy way to find out which Sprint is the active one either as it changes order.

If there is only ever one Sprint per issue then you could just do Sprint.first or Sprint.last but otherwise it is hard to predict. Have a look at that link for more information.

Cheers,

Simeon.

Suggest an answer

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

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,110 views 34 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you