Hey all,
We're migrating from RTC to JIRA. The attachments in RTC can be exported using the RTC API. We can then import into JIRA using the CSV import. Reference: https://confluence.atlassian.com/display/AOD/Importing+Data+from+CSV
Our RTC work items have attachment links in the in-line descriptions. i.e. a URI to where the attachment exists on the server. We need to migrate the URL of the in-line links to JIRA as well.
When we import our work items into JIRA (along with the attachment reference), the URL is as follows: https://jira:8080/secure/attachment/<someNumberHere>/<attachment_file_name>.
The problem we're having now, is that we have no idea what the JIRA-stored URL of the attachments are BEFORE we import. Therefore, we do not have a way to import the in-line descriptions/links.
Any thoughts?
Thanks for your reply, Jason.
We are able to get the attachments in there, but we're unsure how to migrate the in-line references (i.e. URL's of the attachments) to the new tool.
They're currently in the format of: https://org.jazz/etc..etc..., and if we migrated the text as-is, the references would be lost.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the last part of your hyperlink the actual filename of the attachment? If so, wiki markup is your friend.... you would just need to replace the "http" link in your descriptions/comments with a "[^yourfilenamehere]" link. This markup creates a hyperlink to a file attached to the issue.
How you would do a search and replace to fix all your descriptions now that they've been imported is another story. Not sure the best path, but if it were me I'd probably start trying to craft a Groovy script that uses the REST interface to step through and fix each issue with link. Maybe someone else could chime in with a better solution...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe our immediate blocker now is the JIRA link of the attachment, post-import.
When we import the attachments, the link to the attachment will be in the format of :
http://jira:8080/secure/attachment/<seemingly_JIRA_generated_attachment_name>/<image_name>.png
i.e.
http://jira:8080/secure/attachment/10109/capture-20130819-1533.png
That "seemingly_JIRA_generated_attachment_name" is the tricky part. We can't change our WI description`s to contain the new link due to the fact that we won`t know the attachment URL`s until we import. And even then, the path isn`t really clear. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chris - That's what I'm trying to tell you. You shouldn't NEED the entire URL. If the file is attached to the issue, using a link like "[^capture-20130819-1533.png]" will resolve correctly. Or if you want to display the image inline (as opposed to just linking to it), use "!^capture-20130819-1533.png!".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh, I see I see. That works for us in almost all cases. Sometimes attachments in one issue are referenced in other issues. At this point, we'd likely accept those as collateral damage as a result of migration.
Thanks many millions for your help Jason.
- Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply, Jason.
We are able to get the attachments in there, but we're unsure how to migrate the in-line references (i.e. URL's of the attachments) to the new tool.
They're currently in the format of: https://org.jazz/etc..etc..., and if we migrated the text as-is, the references would be lost.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.