Automating a scheduled task and cloning a previous issue
Asked by Erin Gaunt:

Hi all, I have searched relentlessly to find this answer, but is alluding me.

I was to automate a reoccurring task but also to clone a previous ticket.

I have the scheduling part down pat, but can't put together the sequence to clone the ticket. I'm not a developer in any sense of the word, so the smart values make no sense to me!

All I want to do is:

Clone this ticket, schedule to run quarterly.

(the reason I want to clone rather than create from scratch is that the original ticket contains screen shots and links)


Answers:
author: John Funk
body: Hi Erin - Welcome to the Atlassian Community!

Take a look at this article to see if it helps!

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

comments: author: Erin Gaunt
body: Thanks John, the solution appears to be in your answer, but I still can't get it to work  

"While you could also achieve that using a Scheduled trigger and a Clone Issue action, you would need to create a rule foe each issue for which you wish to clone."

Do you have an example of how to do that? The field I want cloned are Summary, Description, Done Definition, Labels, Department and Parent.


author: John Funk
body: Sure - see below:

![Screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/333240iFEF5BC27831AA25A/image-size/large?v=v2&px=999 "Screenshot.png")


author: Erin Gaunt
body: I still can't get it to work. It comes up with an incompatible error message that no matter what I change, won't rectify.

![Screenshot 2024-07-04 080257.png](https://community.atlassian.com/t5/image/serverpage/image-id/333414iA20842758B82C5BD/image-size/large?v=v2&px=999 "Screenshot 2024-07-04 080257.png")


author: Erin Gaunt
body: Nevermind, I got there! Thanks for your help John!!


author: John Funk
body: Awesome! You're welcome!


author: Steve Gardner
body: [@Erin Gaunt](/t5/user/viewprofilepage/user-id/5502814) can you post what your solution was? thanks.


author: Erin Gaunt
body: [@Steve Gardner](/t5/user/viewprofilepage/user-id/3797107)   
In the scheduled selection, enter the issue # you want to clone and tick the Run JQL search  

![Screenshot 2024-08-01 080615.png](https://community.atlassian.com/t5/image/serverpage/image-id/339279iFD40C752F6BF6684/image-size/large?v=v2&px=999 "Screenshot 2024-08-01 080615.png")

![Screenshot 2024-08-01 080434.png](https://community.atlassian.com/t5/image/serverpage/image-id/339278iDAB2812DFE8E0A02/image-size/large?v=v2&px=999 "Screenshot 2024-08-01 080434.png")


author: Steve Gardner
body: [@Erin Gaunt](/t5/user/viewprofilepage/user-id/5502814) that helped alot... seems i was missing the check box (run JQL search ) in the scheduled tasks.. so now my stories/tasks related to that search are being cloned.. just need to modify the cloning process to 1) clone the subtasks as well, 2) create new epic to assign them to based on the schedule job time.


author: Erin Gaunt
body: Glad I could help Steve. I did post another question with regards to automating the creation of initiatives and then step down until I for to stories. So far I've been able to create the initiative and feature, but can't get to the epic and story level.

Don't know if this one will help you  
[https://community.atlassian.com/t5/Automation-questions/Automated-scheduled-issue-with-children/qaq-p/2768227?utm_source=atlcomm\&utm_medium=email\&utm_campaign=immediate_general_reply\&utm_content=topic](https://community.atlassian.com/t5/Automation-questions/Automated-scheduled-issue-with-children/qaq-p/2768227?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_reply&utm_content=topic)


Tags: cloud

jira-cloud