JIRA : update fields that continent of URL link

Assia Abderrahim August 21, 2017

Hello,

After our migration from JIRA cloud to server, we have url links that are in custumfield (Accept Criteria or Description) that point to the cloud
These links must be updated so that they point to the server (jira or confluence)
We have more than 450 requests that contain an url to the cloud so impossible to update them manually
Is there a sql request to update the jira database directly, as for confluence (the links are already updated on the confluence side)

1 answer

1 accepted

0 votes
Answer accepted
Ignacio Pulgar
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.
August 21, 2017

In your JIRA Server instance, perform the following steps:

  1. Go to the issue navigator and execute the following JQL for finding all issues with links to your previous JIRA Cloud:
    text ~ "https://<YOURS>.atlassian.net"
  2. Modify the columns shown to be: Issue Key, Summary, Description and Accept Criteria.
  3. Export the results to "CSV (Current fields)" to retrieve just those 4 fields.
  4. Open the csv file with a text editor like Notepad++, and use the Replace functionality to change all occurrences of:

    https://<YOURS>.atlassian.net
    with your new JIRA Server URL.

  5. If you are using Notepad++, click on Encoding > Convert to UTF-8 without BOM, and save the edited csv file.
  6. Go to the CSV importer in JIRA and use the edited csv file for updating the issues, mapping each of those four columns with the corresponding JIRA fields.

After following these steps, your links will be updated.

If you get stuck for too long on any of these steps, do not hesitate to ask for a more detailed explanation about that specific step.

Best regards

Assia Abderrahim August 22, 2017

Thank you Ignacio  for your solution  

it's work 

Ignacio Pulgar
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.
August 22, 2017

Glad to hear that!

Regards

Suggest an answer

Log in or Sign up to answer