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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,455,739
Community Members
 
Community Events
175
Community Groups

Automating Recurring Tasks - JQL error

Hello,

I am trying to create an automation rule that duplicates a task, is triggered via schedule, and only duplicates tasks with a specific label (in my example 'Repeating'). When I try to run the automation it directs me to the JQL prompt; attached below.

It also includes the message:

"The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: Issue condition", which prompts me to the JQL section. Does anyone know a fix for this? Apologies if this is an easy solution, my knowledge on coding is minimal. Thanks for your time on this!

 

Lawrence

JQL issue.png

2 answers

1 vote

Hi @Lawrence Zhu 

so there is a short explanation of what's happening:

  • your action "Create a new issue" has "Same issue type as trigger" option
  • that implies your trigger (which is "Scheduled") should provide some provide some issue type to an action
  • at the moment I believe your JQL is invalid, so there are no issue to be returned by it, and so issue type might be unavailable for your action

I think you can simplify you rule a lot, which should also fix your issue:

  • leave the trigger as is, but modify the JQL to find only tasks with "Repeating" label (essentially merging your branches into a trigger)
    • your JQL would probably look something like this: issuetype = Task AND labels = Repeating
  • then you can also leave your action as is, just move it out of if block

Let me know if that helps.

Best regards,

Maksim

Hi Maksim,

You're the best! Didnt know you can assign issue types and labels in JQL. That makes it so much simpler. Thank you!

 

Lawrence

Like John Funk likes this

Hi, @Lawrence Zhu !

You can also create recurring tasks using the Recurring Checklists and Report add-on. There is a scheduler for recurring tasks in Jira including checklists.

image.png

The app is developed by my team. Let me know if you have any questions. You can check if it's good for your case with a 30-day free trial.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events