Forums

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

I want to move some issues from one project space to another project

Apsara Dissanayake November 20, 2022

I'm new to JIRA development and having trouble when move issues from one project space to another. I used Automation rule to do that but it is not fully copy the whole issue data to clone space. I want to move whole issue with its all values and attachments etc.. May I ask your opinion for this matter. I cannot Script runner archive job. need alternative way that that. Thank you

1 answer

1 accepted

2 votes
Answer accepted
Rilwan Ahmed
Community Champion
November 20, 2022

Hi @Apsara Dissanayake ,

Welcome to the community !!

To move a ticket from project to another project, you need to have Move Issues permission in source project and Create Issue permission in destination project. 

If you have the required permissions, then write a JQL to fetch the required tickets and make use of Bulk edit option. In next screens, you can select the tickets and then select Move Issues

image.png

Apsara Dissanayake November 20, 2022

Hi @Rilwan Ahmed , Thank you for your answer. I need to do this in Automated way. May I use Postfunction or scheduled job for this? 

Rilwan Ahmed
Community Champion
November 21, 2022

Hi @Apsara Dissanayake ,

I need to do this in Automated way. May I use Postfunction or scheduled job for this? 

-- There is not possibility for this in native jira. 

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.
November 21, 2022

You will also struggle to do it with advanced tools for automation and scripting. 

Moving an issue to a new project or type is something that should only be done as part of housekeeping or correcting the odd genuine mistake.  It should never be a part of a standard operating process, and certainly should never be automated.

Can we ask why you think you want to do this?

Apsara Dissanayake November 21, 2022

@Nic Brough -Adaptavist- , My client want to hide the Closed or Cancelled projects from original work space. they want keep those in seperate workspace and if need that they should be able to move back it to the original work space. Archive feature cannot use because we cant give them admin privileges. I tried workflow post funtion also not moving 100% issue contains. Subtasks and attachments are not moving. Client need this in automated way. If you have any different ideas to fulfill this requirement,  please let me know. Thank you.

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.
November 22, 2022

There are no "workspaces" in Jira, it's a pile of projects.

>My client want to hide the Closed or Cancelled projects

That's fine, but it's up to your administrators to use archiving or hiding a project when a project is closed or cancelled, not the client.  You absolutely should not be doing it at an issue level, which is what you are trying to do here.

The best thing you can do if you want the clients to be able to do this is build a way for them to request it, and pass those requests to the admins, who can then do the archive or hide.  On server, I've automated it to the max a couple of times - clients could run an issue through a workflow without asking admins, one that changed the permission scheme on their project to the "hidden project" one.

Apsara Dissanayake November 22, 2022

Hi @Nic Brough -Adaptavist- , Thank you for your answer. I found a different way to fulfill the requirement. that Admin users can Archive and restore according to the user request. Then user able to browse the archived issues by grant them permission to browse only archived issues. we can handle it in User permission. Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events