Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to loop tasks

We`re trying to make our work with Jira as effective as possible, that is why we are interested in ways to repeat ans schedule some of the tasks so we don`t need to set them ourselves each time.
We`ve already tried to create a rule so tasks can repeat daily but we can`t implement such a rule to specific tasks.
Could you provide a list of actions we should do to make our work easier in this case?
Thank you in advance.

1 answer

0 votes

Welcome to the Community!

You say "loop" here, but I am not 100% sure I understand what you are trying to achieve.  Could you tell is if

  1. You want to create (and progress with, maybe completing) a new task every day?
  2. You want to have a permanently cycling task with a workflow something like new -> ready-for-today -> in-progress -> done-for-today -> ... and then going back to ready-for-today at say midnight automatically?

Hello, I want to schedule repeating tasks, so they appear daily/once a week/ once a month in my to do list and they will also have some timing, when they have to be done.
It would be the best option, but I still can`t find how to do it.
If you have any possible solutions, please share them with me.

Ok, great, option 1 then :-)

Sorry for the delay in responding, I've had a busy couple of days, and I'm just catching up now.

You actually have quite a number of ways of doing that, there are apps that can help do it really nicely and make the setup of it quite simple, but you probably don't need them unless you've got a lot of this stuff to do.  I'd work through my first two options before looking for apps, you might find the second option does absolutely everything you need with a minimum of fuss.

  • The oldest and most simple, use the remote API to create an issue when you need it.  I've never worked anywhere that doesn't have a server with something like "cron" on it, and so to create repeated regular tasks, I've always been able to write short scripts that send a "hey, Jira, create an issue" to its REST API (previously SOAP - showing my age there), with the cron rules determining exactly when. 
  • For more recent systems, I would look to Automation first.  Automations are made up of Triggers, Conditions and Actions.  Once of the available triggers is "at this time" (it's almost the same as "cron"), and one of the available actions is "create an issue"
  • Back to apps - you might not want to write remote scripts, or you might find Automation isn't flexible enough, or you realise that you're going to need 250 Automations, not 2, which isn't maintainable.  In this case, I very strongly recommend looking at the apps that can schedule things in a more flexible/friendly way.  Obviously, I'm going to tell you that I've had a lot of success with Scriptrunner, as I work for Adaptavist, and hence have direct access to people who are way better at writing scripts for this sort of thing than I ever will be.  But I'd also suggest a look at The Scheduler - before I got on-tap SR experts, that was my go-to.
Like # people like this

Thank you for the reply and some advice! We`ll try to implement them and hope it will work!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

144 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you