Forums

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

Move ticket with automation using CLONE, clone not showing up in service portal

Roger Mcgregor July 7, 2023

Hello

I'm trying to create automation to move tickets from one project to another (service project to service project). Im using the clone function and after the ticket is cloned, the automation deletes the ticket from the project that cloned the original. The problem is that the cloned ticket dosen't show up in customer service portal, which would be needed. If I move it manually, the ticket shows in customer service portal. Is there a way to clone a ticket and show it in users service portal?

3 answers

4 votes
Nic Brough -Adaptavist-
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.
July 7, 2023

Welcome to the Atlassian Community!

Moving issues is not something that should be done as part of a standard process.  Move is for re-organisation, housekeeping, and for the (hopefully infrequent) times a user has made a genuine mistake in raising the wrong thing in the wrong place.

Deleting issues is a bad thing to do - it destroys the issue completely, losing all track of what was originally done, and you can not undelete, it really does mean delete in Jira.

Your clone-and-delete process is even more broken when you use it in JSM.  Cloning only clones the issue, it does not clone the request that the customer has raised.

So, the short answer is "no".

You need to stop trying to do this.  Do not try to move issues between projects, it's the wrong approach.  You need to set up your projects so that there is no need to move between them.

2 votes
Trudy Claspill
Community Champion
July 7, 2023

Hello @Roger Mcgregor 

Is the Request Type field set in the issue you create by Cloning?

When I use the Clone action in Automation to clone an issue in a JSM project to another JSM project, and I don't call out any additional fields to set, I find that the Request Type field is not copied to the new issue. The Request Type field must be set for the issue to be accessible in the portal.

Note that you can't actually set the Request Type field within the Clone action.

Screen Shot 2023-07-07 at 2.18.10 PM.png

You will have to update your Clone action to create a link ("clones", Trigger issue) between the new issue and the trigger issue. Then you will need to re-fetch the issue data, branch for Linked Issues, and Edit Request Type on the linked issue.

In order to do that your rule will have to be changed from a Single project rule to a multiple project rule naming the source and destination projects. That change can be made only by a Jira Administrator.

Screen Shot 2023-07-07 at 2.33.23 PM.png

 

Screen Shot 2023-07-07 at 2.33.08 PM.png

 

Screen Shot 2023-07-07 at 2.33.40 PM.png

Screen Shot 2023-07-07 at 2.33.51 PM.png

Screen Shot 2023-07-07 at 2.33.58 PM.png

 

 

Screen Shot 2023-07-07 at 2.33.30 PM.png

0 votes
Luka Hummel - codefortynine
Atlassian Partner
July 14, 2023

Hi @Roger Mcgregor

As @Nic Brough -Adaptavist- has rightly pointed out, deleting issues is a rather bad practice in Jira. I would suggest to clone and close the original issue.

If you are struggling with creating a clone automation, you also can use our app Deep Clone for Jira to clone the issues via Jira Automation or configure a preset to clone quickly from the issues Action Menu ···.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events