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,298,608
Community Members
 
Community Events
165
Community Groups

Cloned issues retaining the status of the original ticket

Edited

Hi - thank you in advance for any help. 

 

I am working on a Jira Cloud project where we are transitioning from delivery to enhancements. We have a number of tickets that were initially dropped out of scope. These tickets were closed and had the status 'won't do' added. We're now in a position to pick these tickets back up. For business reasons, rather than re-open these tickets the decision was made to clone them and work on them in a new project using the same workflow. However the 'won't do' status has persisted during the cloning process.

 

Is there a way to remove/reset the 'won't do' status? I have tried progressing them through the workflow and then bringing them back to 'new', but this doesn't remove the resolution.

1 answer

1 accepted

0 votes
Answer accepted

Hi @David Hazeel 

I've tried cloning issues in both Classic and Next-Gen projects and it clones the issue in the first status in the workflow - as opposed to the status it was in.

Is this the status or the resolution which isn't clearing for you? And is it Classic or Next-Gen?

Resolution in the new issue view appears next to the status, with a green tick next to it. Resolution does not clear during the clone when I tested this.

Ste

Hi @Stephen Wright _Elabor8_  - thank you for replying. I should have said, it's a classic project. The status in the cloned issue does clone the first status in the workflow, which is absolutely fine. It is the resolution which isn't clearing when cloning - so yes, it's appearing next to the status with the green tick in the cloned issues.

Hi @David Hazeel 

There is a known bug for this - see: JRACLOUD-75040.

-----------------

Classic Projects:

The post-function work-around mentioned in this issue will work for Classic Projects.

To implement this:

  1. As a Jira Admin, go to Jira Settings > Issues > Workflows
  2. Locate the required workflow, and press Edit. Move to diagram view.
  3. Select the "create" transition (arrow from the circle to the first status)
  4. From the pop-up, select "Post Functions"
  5. Press "Add Post Function" - and select the function "Update Issue Field", then press Add
  6. Choose the field "Resolution", and the value "None" - then press Add
  7. Next, on the right-hand side use the arrow buttons to move the clear resolution post function above "Create the Issue originally" 
  8. Press Publish to activate the updated workflow

^ This will clear the resolution at creation.

-----------------

If you are using a Next-Gen project - or a Classic Project with a Simplified Workflow - the above workaround is not an option.

Instead, you can achieve the same result using a loop transition automation rule.

-----------------

Loop Automation:

Looping back to the same status will remove the resolution.

What this means is the transition will be from the first status, back to the same status. It's cleanest to do this loop transition via Automation.

For the Automation Rule:

  1. As a Project Admin, go to Project Settings > Automation in Classic Projects - for Next-Gen, go to Project Settings > Apps > Project Automation
  2. Press the blue "Create Rule" button
  3. For the Trigger, use Issue Created
  4. Add a Condition, Related Issues Condition - set Related Issues as "Linked Issues", Link Types as "clones" and Condition as "are present"
  5. Add an Action, Transition Issue - set the Destination Status as either the same status or "Same status (loop)"
  6. Give the rule a name and publish it

A few notes on the above rule:

  • The rule fires just after creation - so refresh your page to see the resolution disappear
  • You can modify the condition if you prefer to check the Summary for "CLONE -" or similar
  • You can set this as a Global Rule as a Jira Admin via Jira Settings > System > Automation Rules. Just remember there are execution limits on global rules per month - whilst project executions are virtually unlimited.

-------------

The second option does require some setup to automate what might be a temporary problem as it's a bug - but it's a workaround which works today for those projects which cannot utilise a "complex" workflow.

Ste

Like # people like this

@Stephen Wright _Elabor8_ - thank you. I'm glad it is recognised as a bug and not just me. The post-function solution has worked for me. Fortunately we don't have a huge number of affected tickets! I've accepted your answer. Hopefully anyone else with the problem will also find your solutions.

Awesome - glad it was useful :)

Ste

@Stephen Wright _Elabor8_ 

 

Hi,

I followed the steps you have provided, but when I clone an epic with sub-tasks, the status of all still gets changed to the default and is not transferred from the original epic. Any ideas what could cause this? The issues are not linked, it is literally just a clone.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you