Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Automation: LookUp Issues Action is Creating Hundreds of Tickets


With a scheduled event I am going multiple Lookup issues and then placing the lookup.size into a variable. I am looking to do an automated ticket once a week that reports out the the count of issues. 


The final output is outputting this and also creating hundreds of tickets

[POPS-2] Week of Issue Summary - JIRA 2022-02-13 22-58-53.png

Automation - JIRA 2022-02-16 09-12-46.png

This is what each lookup looks like and then below is the variable. 

Automation - JIRA 2022-02-15 11-57-31.png

Automation - JIRA 2022-02-15 11-57-49.png


This is an overview of what the automation rule looks like as well as the final "create issue" which is creating hundreds of tickets

Automation - JIRA 2022-02-13 22-56-28.png

2 answers

1 accepted

2 votes
Answer accepted
Stefan Salzl Community Leader Feb 16, 2022

Hi @Jeffrey Bistrong ,

I just checked your "set value" action. I´m not quite sure if smart values are case sensitive but I know the lookup issue smart value in camel case {{lookupIssues.size}}. -->capital "I" for issues

Could you try this and maybe also add a "log action" after the "set variable" to see if the variable was set corretly.



after changing to the capital "I", i am now getting the correct output, but it is still creating a hundred or so issuesAutomation - JIRA 2022-02-16 10-30-01.png[POPS-225] Week of Issue Summary - JIRA 2022-02-16 10-29-12.png

Could you please provide a screenshot of your trigger settings?


The reason for my question is the following:
I tried to re-build your rule in my site. When I add the "scheduled" trigger in combination with the "re-fetch" action Jira forces me to add a JQL (to which the "re-fetch" could then refer) within the trigger. And with this set the action is executed for all issues of the result (see screenshot)


Like Curt Holley likes this
Mykenna Cepek Community Leader Feb 16, 2022

Nice catch, @Stefan Salzl. Almost certainly the "Run a JQL search and execute actions for each issue in the query" option is erroneously checked.

Like # people like this
Stefan Salzl Community Leader Feb 16, 2022

Thank you very much @Mykenna Cepek  . Highly appreciate and feel honored by getting such a feedback from a community leader :) 

Let´s hope we caught the right thing ;)

yes, thank you unchecking it did the trick!!! thank you so much for helping me get to the bottom of it

Stefan Salzl Community Leader Feb 16, 2022

Awesome. Glad to know it works now. Thanks to all of you in this conversation for your effort to find a solution :)

happy automating to you guys ;)

0 votes
Mykenna Cepek Community Leader Feb 16, 2022

Your screenshot ends after the third "And create variable" component. So we can't see what your rule looks in the vicinity of the "Create issue" component.

Please post a screenshot of the bottom half of your rule (so we can see ALL the rule components). 

Mykenna Cepek Community Leader Feb 16, 2022

Ok. What does your Audit Log for this rule show? Can you screenshot both the overview (all recent runs and changes for this rule) as well as the details for the latest execution?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events