Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to update the STart and due date based on when i start the sprint

Minaz Fazal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2025

Hi There

i am trying to create an automation that will update the tasks and the epic for those tasks with the start and end date based on a fixed 2 week sprint.  I am able to use the following automation to get the tasks and stories date updated but can not figure out how to get the dates for the epic updated.  here is the structure of my automations:

Please Help!!

 

Screenshot 2025-06-04 165704.png

1 answer

1 vote
Michael Wan
Contributor
June 4, 2025

@Minaz Fazal 

This can be accomplished by using a Lookup work items action and two separate branches: one branch for the work items in the sprint, and another branch for their corresponding Epics, as shown below:

Screenshot 2025-06-04 at 11.54.14 PM.png

There is a limit of 100 work items for the Lookup work items action. 

Hope this helps. 

 

Minaz Fazal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2025

hi @Michael Wan 

so this is still not working for me.  I have also attached the audit log below.  But i did try replacing the first branch with "For Issues in Sprint" instead of the JQL query which did update the start and due dates for the issues in the sprint but the second query for the epics still dont work.  for some reason it looks like the JQL query will not find the items...here is the audit log that i received and the updated automation:

just to clarify, this is the log for JQL query for both the issues and the epic, i tested the "For Issues in Sprint" option separately but have not included the log here.

 

Screenshot 2025-06-05 103351.png

 

Screenshot 2025-06-05 103218.png

 

 

Michael Wan
Contributor
June 5, 2025

@Minaz Fazal 

Thanks for your feedback. From the error message and your screenshot, it looks like there might be a missing parenthesis that could be causing the issue (see screenshot below). I had tested the solution on my end and it was working, but it's totally possible that small differences in the code could lead to this. Let me know if fixing that resolves it!

Screenshot 2025-06-05 at 2.06.53 PM.png

Suggest an answer

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

Atlassian Community Events