Forums

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

Any JIRA Connectors or Rest API to move issue from one project to another?

Naga Jyothi V
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2018

I am trying to create a LogicApp in Azure to move an issue from one project to another. I find only a way of create ticket first in destination and delete in source separately.

But I am looking for a way in terms of using an available JIRA Connectors or Rest APIs that takes care of moving the whole Issue parameters including comments, Attachments, Workflows and indicating where it was moved from in the history.

In Jira UI, it allows to move the way mentioned above. I am looking for achieving the same from logic apps.

Earliest response will be greatly appreciated.

1 answer

0 votes
Prakhar Srivastav {Appfire}
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.
June 7, 2018

Hi @Naga Jyothi V

Try Bob swift JIRA CLI app or Run CLI Actions in JIRA , you can use cloneIsse command to achieve what you need.

https://bobswift.atlassian.net/wiki/spaces/JCLI/pages/6684679/Reference

 

It has all the options of copyComments , copyAttachments etc.

 

Regards

Prakhar

Naga Jyothi V
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 11, 2018

Hi Prakhar srivastav, Thanks for your reply. It was very informative. I have couple more questions. can you please clarify the following.

1. Using JIRA CLI, I do'nt find the command to copy the issue to different project.

2. Is there any way that we can automate the execution of CLI commands by using PowerShell or so in LogicApp or others.

Earliest response will be greatly appreciated.

Regards

JyothiV

Prakhar Srivastav {Appfire}
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.
June 11, 2018

Hi @Naga Jyothi V

Copy Issue is not native action in jira hence you will not find it in CLI commands.

CLI comes with a client where you have java jar for each Atlassian application. With little bit of set up , you can execute cli commands within terminal. You can use it in shell script ,bash script or any of the client code.

You can raise a request here and professional team will help you in get going :

https://bobswift.atlassian.net

 

Regards

Prakhar

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events