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
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.