Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a repeating issue?

Dominik Saban
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2023

Hello guys,

I would like to make a couple of issues repeat themselves on certain days. For example, I would like certain issue to repeatedly return from 'done' to 'selected for development' without changing the Cumulative Flow Diagram. I tried making an automation, got stuck on JQL search. I finished atlassian course on Jira, but automations were not covered. I cannot find anywhere detailed instructions on creating automations. Can anybody explain it to me step by step? Below is a screenshot of what I tried to do.

Thank you so much, anyone willing to help!

automation.jpg

3 answers

2 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2023

Hi @Dominik Saban -- Welcome to the Atlassian Community!

First thing...what problem are you trying to solve by doing that?

A cumulative flow diagram (even Atlassian's interpretation of one) shows the count of items in a particular process step over time.  This helps to learn about a team's process flow, identify measures to help, and identify symptoms of problems requiring action.  Changing an item from "done" back to "not done" does not make sense to not impact the CFD: this is changing an existing item.

Instead do you want to create a new item, which is a duplicate of the prior one?  For example, for a re-occurring report?  If so, consider cloning the existing item when it reaches your done step.

Next, automation rules in Jira require both learning and experimentation: there are no shortcuts.  To get you started on creating your rule, please refer to these documentation and example sources, and information on creating JQL queries...including a free class from Atlassian University: 

 

Finally, if you run into challenges creating your rule, please post images of your complete rule and the audit log details showing the rule execution, and explain what is not working as you expect.  This will provide context for the community to offer suggestions.

Kind regards,
Bill

0 votes
Diogo Teles
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2023

Hi @Dominik Saban 

Welcome!

Before automatically re-opening an issue, it's important to consider the impact on metrics and data accuracy. Re-opening issues can negatively affect metrics unless corrective measures are taken, and built-in reports may not accurately reflect the changes. With that in mind, here are some tips for automating the re-opening of issues:

1. Identify the issues you want to re-open: If you want to re-open all issues of a specific type, it simplifies the process. Alternatively, you can tag an issue by adding a label when it transitions to the "Done" status (you can use automation for this step as well).

2. Determine the reference date: If your workflow marks an issue as resolved when it transitions to the "Done" status, you can use the resolution date as the reference point.

3. Set up a rule with a scheduled trigger: Configure the rule to run on a regular basis, such as daily. Use JQL on the scheduled trigger to limit its scope to the issues with that label.

4. Use an advanced compare condition: Compare the number of days that have passed since the resolution date to the desired threshold for re-opening. For example, if you want to re-open issues after 10 days, use the following condition:

Advanced Compare condition:
if
{{now.diff(issue.resolutiondate).days}}

=
10

5. Set an action to transition the issue: Configure the action to transition the issue back to a previous status. Make sure the issue workflow includes the necessary transition and a post function to clear the resolution field.

6. Optional: Remove the label: If you used a label to tag the issues for this rule, add another action to remove that label, ensuring it's no longer associated with the re-opened issue.

By following these steps, you can automate the re-opening of issues based on specific criteria while being mindful of the potential impact on metrics and data accuracy.

Diogo Teles
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2023

Forgot to add, you can check this documentation on working with dates in automation

Jira Smart Values - Date and Time 

0 votes
Olha Yevdokymova_SaaSJet
Atlassian Partner
June 25, 2023

Hello, @Dominik Saban   !

If you are okay with add-ons I would like to suggest using the Recurring Checklist and Reports add-on developed by my team, which may help with your needs. With this add-on, you can create recurring task with any information or checklist inside automatically based on preset rules. The interface is very straightforward and you can set dates, times and recurrence for you tasks.image2.png

You also can choose multiple assignees for the tasks if you will have more than 1 person with the same task and anyone will receive new task with the notification about its creation.

image1.png

With the ability to reporting in this add-on, you can also check report for the submission dates of all your employees and information from the checklist in one place.

I hope this helps and let me know if you need further assistance!

Suggest an answer

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

Atlassian Community Events