Forums

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

An error is shown when I run rule for sprint creation does anyone know ?

Shehrooz Ahmad May 16, 2022

US automation.PNG

1 answer

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.
May 16, 2022

Hi @Shehrooz Ahmad -- Welcome to the Atlassian Community!

When you read over that error, you note it indicates there are components in the rule requiring issues, and there are none.  That is correct...

Your trigger is sprint created, and sprints initially have no issues so none are available.  If you expect there to be issues assigned at the time the sprint is created, you could use a JQL branch or Lookup Issues action to find issues associated the newly created sprint.

However I suspect that trigger will fire long before issues can be assigned, so would you please describe the problem you are trying to solve with the condition testing Issue Type?  Knowing that may help the community to offer suggestions to help.  Thanks!

Kind regards,
Bill

Shehrooz Ahmad May 16, 2022

Hi Bill, I actually want to create issues automatically once I create a sprint but don't know what I'm doing wrong.

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.
May 16, 2022

Thanks for clarifying!  If you remove that first condition test (after the branch) you should be all set to add issues, and any subtasks under them, as needed. 

For example:

  • trigger: sprint created
  • action: create issue (assigning it to the sprint with {{sprint.id}}
  • branch: most recently created issue
    • action: create subtask
  • ...

Suggest an answer

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

Atlassian Community Events