Repeat this: make an issue recur
On this page
An agent opens an issue, chooses Repeat this from its actions menu (•••) and picks how often. From then on the app creates a new issue from that copy on every run.
The schedule belongs to the project, not to the person who set it up, and each new issue is created by the app, so it keeps running when people change teams. (If the Atlassian account of the person who raised the source issue is closed, not just deactivated, its copy is erased and the schedule pauses.) Any agent of the project can manage it on the Recurring work page.
Before you start
- A project admin switches Repeat this on for the project. Until then, Repeat this and the Recurring work page are visible but say where to switch it on. See What agents can do.
- It works in any Jira project, service projects and others alike.
- You need Browse projects and Create issues in the project, and in a service project also Service project agent. Customers of the portal never see it.
- The app needs Browse projects and Create issues too. If it lacks them, the dialog says what to grant. See Permissions and data.
Set it up
- Open the issue you want to repeat. A sub-task cannot be repeated.
- Choose •••, then Repeat this.
- Read the Copied line, and open What is not copied if you need to know what is left out.
-
Under Each new issue, edit the
Summary, which starts as the issue's own. Add
{date},{month},{quarter}or{year}to put the date of each run in it. See Date words in the summary. - In a service project, choose Raised for if each new issue should have a customer as its reporter, and tick the box to share it with the organizations the source issue is shared with. See Raising for a customer.
- Choose the assignee and due date options.
- Under How often, fill in the same schedule form customers use: name, how often, the day, the first date and time, and Stop after this many. When it runs lists the next dates before you save. See The form. Tick Skip a run while the last issue it created is still open if a new issue should wait for the last one to be done. See Skip a run while the last is still open.
- Choose Start repeating. The dialog names the date and time of the first new issue.
Customers' limits set on the settings page do not apply here: the shortest gap is 1 day, and a schedule runs until you stop it, unless you fill in Stop after this many. In a service project, the desk's closed days apply as they do to customers. A project can hold up to 100 schedules that are running or paused.
What is copied
The app copies the issue's fields that are on the create screen of its issue type: the summary, the description, priority, labels, components, versions, options and text or number fields, among others. The copy is taken when you save; later changes to the source issue do not reach it. To change what is copied, stop the schedule and set it up again from the issue.
Never copied:
- People: the reporter and user fields. The assignee is not copied either, but you can have each issue assigned as the source is (below). Mentions become plain text.
- Attachments and pictures, app macros, linked issues, sub-tasks and the parent.
- Checklists made by other apps, such as Checklist for Jira or Smart Checklist. See What is not copied.
- Fixed dates such as the due date, and the sprint.
- Jira Service Management's own fields, apart from the request type, and fields that pick a record, such as Affected services or Assets.
Each new issue's reporter is the app, unless you choose Raised for. If the issue type requires a field the copy cannot fill, the dialog says so and nothing can be saved, because every run would be refused.
Request type in a service project
Each new issue gets the source issue's request type, so it shows in the portal and in queues and SLAs that filter on request type. The dialog says which one, for example Each new issue gets the request type Get IT help, as this one has.
That needs the Request Type field on the create screen of the issue type. In a new company-managed service project it is usually there. If it is not, the dialog warns that the request type cannot be copied. See Request Type is not on the create screen.
An issue with no request type gives copies with none: they do not show in the portal, and queues or SLAs that filter on request type miss them. The dialog says so.
Assignee
Assign it as ISSUE-1 is assigned at the time is ticked by default. At each run the app reads who the source issue is assigned to and assigns the new issue to that person. Nobody's name is kept in the schedule. Untick it to leave new issues to the project's default assignee.
- If the source issue is unassigned, the project's default assignee applies.
- If Jira will not assign that person, the issue is created without an assignee from the app, so the project's default assignee applies, and the history says could not set: Assignee.
- If the source issue was deleted, cannot be read or was moved to another project, the project's default assignee applies, and the history says so.
The option is offered when Assignee is on the create screen and the app holds Assign issues in the project. Otherwise the dialog says why.
Due date
Due this many days after it is created: type 0 to 365, or leave it blank for no due date. Tick Count working days only to count Monday to Friday; in a service project the desk's closed days are left out too. Days are counted in the schedule's time zone from the day of the run.
The option is offered when Due date is on the create screen and the app holds Schedule issues in the project.
Issues with a security level
An issue with a security level is repeated with the same level, so a copy is never open to more people than the source. That needs Security Level on the create screen and the app holding Set issue security. Without both, the dialog says why and the schedule cannot be saved.
The schedule's name starts as Repeat of and the issue key, not the summary, because the name is listed to everyone who can open Recurring work in the project, and some of them cannot open the issue. Do not put the summary in it.
After saving
Runs happen within a few minutes of their time, as for customers' schedules. Run now, Edit, Pause, Resume, Stop and the latest runs are on the project's Recurring work page.
A request type with an approval step works as it does for a request raised by hand: each new issue goes to approval. Customers' schedules and templates work as they did before 4.4, with one new option, skip while open.