Delete completed sprint from an cloned issue using Jira automation (Web request)

Eliyahu Klein --CNTR December 12, 2024

Hi,

When I clone a specific issue, it duplicates along with the active sprint and the list of closed sprints. I don't want this because it affects my reports and disrupts the history.

Therefore, I'm trying to create an automation that deletes the list of closed sprints after cloning. Even though I set the Sprint field to "Null" and only enter the value of the active sprint, it still keeps the issue in the previous sprints (as shown in the image).

Is there a function in automation that deletes the sprint history?
If I need to use a Web request, how do I set it up correctly? All the results I get are Bad request 400.

Thanks

 

Screenshot 2024-12-12 134109.pngScreenshot 2024-12-12 133419.pngScreenshot 2024-12-12 133230.png

2 answers

1 vote
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.
December 12, 2024

Hi @Eliyahu Klein --CNTR 

I do not believe that is possible with an automation rule after the issue has been cloned.

In my experience, there are only three ways not to keep (or to clear) the Sprint field and its history for a cloned issue:

  1. When the issue is cloned using an automation rule, include the Sprint field as empty in the action so the current value and history are not copied
  2. When the issue is cloned manually using the UX's Clone issue feature, do not select the option to copy the Sprint field values
  3. After the issue is cloned, use the Bulk Edit feature to clear the field and history information

Kind regards,
Bill

0 votes
Luka Hummel - codefortynine
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 13, 2024

Hi @Eliyahu Klein --CNTR

To manage the cloning of issues while avoiding the duplication of completed sprints in your workflow, you could consider our app Deep Clone for JiraThis app offers advanced cloning capabilities that can help you handle this scenario effectively.

With Deep Clone, you can fully customize what fields and values to clone, including excluding or clearing the Sprint field.

2024-12-13 13-11.png

Suggest an answer

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

Atlassian Community Events