Forums

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

Why isn't anything being triggered in Sprint created automation?

Sally Sattary September 24, 2024

Please can someone support me, I cannot work out what is going wrong. I have tried running the "then" commands below the "when", and now additionally under a branch, but every time a new sprint is created it says "NO ACTIONS PERFORMED"

I have tried changing the regular expression to ^Blackbirds* and many other options, but nothing seems to be triggering it. 

How do I trigger the creation of new tickets when a sprint is created?

image.png

 

Note: I need to be able to specify sprint name as we have multiple teams so have different named sprints

3 answers

0 votes
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.
September 27, 2024

Hi @Sally Sattary 

When the Sprint Created trigger fires, there are no issues in it yet.  And so the branch you show will not find any yet.

You describe wanting to add some default issues to the sprint when it is created.  Your rule could be changed to the following to accomplish that:

  • trigger: sprint created
  • action: create issue, and set the Sprint field to {{sprint.id}}
    • To enter the smart value for the Sprint field, type in the expression and it will appear below the field.  When it does, select it for use.
  • ...repeat as needed

 

Kind regards,
Bill

Sally Sattary September 30, 2024

So this is what I originally had, but it would say nothing triggered:


image.png

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.
September 30, 2024

Please show an image of the audit log details to help provide context.

In the Create Issue action, please use {{sprint.id}} and not the name.  That will ensure the correct sprint is used (and avoid any potential collisions).

Finally, did you in fact create a sprint in that board exactly matching that regular expression at the start of the name?

 

Sally Sattary October 1, 2024

You can't use {{sprint.id}} in the name. 

Screenshot 2024-10-01 085545.pngI have changed it to scheduled creation rather than sprint created as it just makes life easier.

Many thanks for the help

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.
October 1, 2024

I was noting in the assignment of the Sprint to the created issue, and not in the filter for the trigger.

0 votes
Cristian0791
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.
September 27, 2024

Hi Sally,

 

The automation above will create ticket/s only when you will move the Story on a new sprint.

I have added a condition to run only for story ( but you can add what issutype you need)

story.png

0 votes
Cristian0791
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.
September 24, 2024

Hi Sally,

When Sprint is created the sprint is empty.

The real action happen when you move the ticket from Backlog to the new Sprint.

 

You can try:sprint11.png

This will check each ticket that have updated to Sprint field. 

It will check if Sprint = desire value

If yes it will created a new ticket.

 

 

Hope this helps

Sally Sattary September 27, 2024

Hi Christian 
Thanks. How would I stop this running for every ticket that is moved into the sprint? We only want to create the tickets once a sprint.

Many thanks
Sally 

Suggest an answer

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

Atlassian Community Events