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,551,937
Community Members
 
Community Events
184
Community Groups

Automation Help: Create 10 Issue Clones, Different Due Dates

Edited

I'm playing around with Jira automation to manage compliance tasks that must be tracked and completed at set intervals.

Having trouble writing an automation rule that will do the following:

  • Trigger: Upon manual trigger <-- I think I can figure out (tbd)
  • Condition: For select label criteria in a project <-- I think I can figure out (tbd)
  • Action: Create 11 clones of original issue; each one w/ a different due date (30th of each month after the month of original issue).  <-- Struggling greatly

Any help would be appreciated.

Thanks!

2 answers

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023

Hi Linda,

Can you share the rule that you have so far?

Hi John, here's where I started...jira.png

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 05, 2023

You should be able to just add a new action for each clone below the other and change the Due Date on each one. 

If I'm understanding correctly, I think your suggestion is to create a new rule for each clone I desire vs creating one automation rule that creates [x] number of rules with staggered due dates. Unfortunately, that amounts to more work than just directly adding [x] new issues since the only thing that 'needs' to be cloned from the original issue is the summary.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 06, 2023

No, just keep adding a new action to the end of what you have already. One new action per clone. 

I think Jira limits the number of actions that can be added to an automation to 60. I have a different rule that would need 120 (10yrs of of monthly recurring due dates). Jira Sales Support could only point to 3rd party apps for supporting a looped script. I sincerely wish that Atlassian would add recurring due dates to the Jira roadmap, especially since Jira already recognizes the importance of Calendar vs Business days.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 10, 2023

Why create that many out in advance? Just create them month to month as they are needed. Close one month, create the next month. 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 10, 2023

And here's the world's best article on creating recurring tasks - closing one month, automatically creating the next month.   :-)

https://community.atlassian.com/t5/Jira-articles/Creating-a-Flexible-Recurring-Task-Issue/ba-p/2040862

Happy to take a look at article later today, thanks for sharing and engaging.

To quick answer your question re 'why create all now', it's a compliance thing. A key audit parameter that has been non-negotiable is to have a display of ALL tasks over the term of our financing facilities (typically 3-10yrs). Just setting up the next occurring task will not meet that mark (wish it did :-).

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 10, 2023

You could probably set it up to an issue and set the Recurring Need custom field value mentioned in the article. Then create another rule that clones that issue when an issues is created with that value in the custom field (I would used Monthly)  but also add a condition that limits the creation based on a time period for the Due Date. That should probably do the trick. 

0 votes
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023

Hi @Linda C 

Welcome to the community.

You can format / manipulate the dates. Please take a look at Examples of using smart values with dates page. But I am not sure if you could iteratively add days to due date in a loop. But if you have separate clone issue actions, you can do it for sure.

Thanks for responding. Separate clone issue actions would amount to the same amount of work as not using automation. For Jira to meet my needs, I would one rule that can apply a multitude of due dates. Best-L

Suggest an answer

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

Atlassian Community Events