Can we add a sprint changed trigger in jira automation?

khushboo_puri
Contributor
January 21, 2025

Can we add a sprint changed trigger in jira automation?

2 answers

0 votes
Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2025

Hello @khushboo_puri ~ if you use ScriptRunner, you can create an automation rule to trigger under these 2 conditions:

  1. when the Sprint Field value changed
  2. JQL condition using the ScriptRunner function, issueFunction in removedAfterSprintStart(board name/ID, [sprint name/ID])

 

Ref:  https://docs.adaptavist.com/sr4js/8.25.0/features/jql-functions/included-jql-functions/sprint#removedaftersprintstart 

 

Capture.PNG

 

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2025

Hello @khushboo_puri 

Are you talking about a change to the Sprint field in an issue?

Or are you talking about some sort of change to a Sprint, like changing the dates of the sprint? If your are talking about this type of change, can you provide more details about the problem you are trying to solve and/or your use case?

khushboo_puri
Contributor
January 21, 2025

Hi @Trudy Claspill 

We are working on automation and it's needed for adding "removed sprint" label to issues that are pulled out of active sprints

We are trying to see how many stories are pulled out of sprint and label them to track them

Suggest an answer

Log in or Sign up to answer