Issue Linking JIRA using CSV import

Hi All,

I am performing CSV import to bulk upload issues, I am able to import all fields along with Sub task.

I am now facing huge issues to preserve Issue Linking. I have found articles which speak about Jelly Script and so.

 

I am not much of scripting expert. 

 

I could do some workaround, It would be great help if someone can provide more info on this issue.

 

Many Thanks,
Akash 

2 answers

This widget could not be displayed.

Hi Akash,

You could use REST API for creating Issue link, you can refer below link for example 

https://developer.atlassian.com/jiradev/jira-platform/other/guide-jira-remote-issue-links/jira-rest-api-for-remote-issue-links

In past done issue migration through CSV import and for issue linking we used REST API mentioned in above example, you can give it a try.

Taha

 

@Taha Khanzada : Sorry, if this sounds silly question, not userd REST before. Say my JIRA URL is http://mycompany:8080 and issue where issue links needs to be created key is ABC-123. How do i fire the command over browser?? Many Thanks, Akash

TST-1 is source ticket( from which issue links needs to be created) and ABC-123 is destination one Most simple one is CURL command line, here is below example using CURL command. I have used one of the sample in URL {code} curl -D- -u username:password -X PUT --data @rest.txt -H "Content-Type: application/json" http://mycompany:8080/jira/rest/api/latest/issue/TST-1/remotelink {code} Content of file rest.txt file { "globalId": "system=http://mycompany:8080/browse/ABC-123";, "object": { "url":"http://mycompany:8080/browse/ABC-123";, "title":"Crazy customer support issue (RESOLVED)" } } Basically REST is independent of the language you can write script in language you are comfortable in JAVA, jQuery, Python or even VBS ( Excel) etc. For Browser based client you can try "Postman Rest Client" from Chrome webstore Taha

This widget could not be displayed.

Hi you can create issue linking through csv in below given format

issue Key cloned bySummaryissue id clones
TEST-166name of issueTEST-168
TEST-167name of issueTEST-169

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

232 views 3 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you