...
Folder attachments with incorrect Base URL (possible by previous change in Jira Base URL settings) causes embedded image do not work.
The Base URL is the part of the website address referencing your Jira system, e.g. https://jira.myCompany.com/…
Solution
...
Run a script
This script requires Python 3.7+.
View file | ||
---|---|---|
|
Download the script above.
Configure the script. Only configure the variables indicated below:
Line 22-23
USERNAME and JIRAPW - REST API user auth for your Jira instanceLine 24
BASE_URL - Your current Jira instance's base urlLine 25
OLD_BASE_URL - Your old Jira instance's base url to be replacedLine 40
PROJECT_KEY - Array of project keys you want to run the script in; to run in all R4J activated projects, leave emptyRecommended: Run script in a single project first to check if the result is what you expect
To make sure the script runs, make sure “requests“ module is installed. Run the following command:
Code Block pip install requests
Run the script.
Code Block python UpdateFolderDescriptionAttachmentUrl.py
Modify URL manually
Select the folder with the image not working in the reading view and edit the folder properties.
On the folder’s description field, select the editors text mode.
Check for the image URL: The Base URL is the first part of the shown link to the image (ex. http://local:8080/….). This is different from the current one.
Update the Base URL to match your Jira URL. Simplest way is to add the image again.
Switch back to visual editor mode to confirm the fix.
Save the changes.
Info |
---|
If the issue remains unresolved, please create a ticket in our support portal and provide us with a HAR file and support zip to further investigate the issue. |
Related articles
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...