Why does my automation rule create 1000 jira's?

reece_singh March 22, 2024

Hi all,

I am trying to create an automated daily jira that also adds watchers automatically.

However, it asks me to run a JQL search to provide issues.

What would I need to put in here to only make the automation run once? As it is currently repeating itself and creates 1000 jiras.

 

image.pngimage.png

 

Thanks,

2 answers

2 accepted

2 votes
Answer accepted
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2024

Hi @reece_singh 

You can get around this error, as JQL isn't necessary when creating an issue - rule should look like this:

  • Trigger: Scheduled
  • Action: Create Issue
  • Branch: Related issues
    • Type = Most recently created issue
      • Branch-Action: Manage watchers

The Branch ensures the action is taken by the issue you've created, rather than requiring this data from the JQL search.

Ste

reece_singh March 26, 2024

Hi @Stephen Wright _Elabor8_ 

 

This worked perfectly, thank you very much.

 

Best,

Reece

1 vote
Answer accepted
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2024

Hi @reece_singh 

 

Reason why rule created over 1000 issues is that you put quire open JQL in Scheduled trigger.

You need to modify your rule as below:

1. Trigger - Scheduled - just uncheck 'Run a JQL'

2. Action - Create issue

3. Branch for Most recently created issue

4. Put in branch Manage watchers action.

 

Rule should looks like below

Screenshot 2024-03-22 at 11.13.32.png

 

This should solve your issue.

 

Regards,

Seba

reece_singh March 26, 2024

Hi @Sebastian Krzewiński ,

 

This worked! Thank you for the image you attached, saved plenty of time.

 

Best,

Reece

Like Sebastian Krzewiński likes this

Suggest an answer

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

Atlassian Community Events