Forums

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

About decoding base64 images

Vengadesh November 14, 2024

Hi Everyone,

I'm trying to convert the base64 to images within JIRA and need to map them within the description of the issue.

I had converted the image to base64 from servicenow and moved them to jira via REST API Integration

Does anyone have any idea on converting base64 to images/docs within jira and adding it to issue description

FYR, This is my base64 code(Added partially for reference)

[JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbikgL1N0cnVjdFRyZWVSb290IDQwIDAgUi9NYXJrSW5mbzw8L01hc..........]

Regards

Vengadesh

2 answers

0 votes
Jehan Bhathena
Community Champion
November 17, 2024

Hey @Vengadesh 

By scripts I meant Python or bash scripts.

You'll have to make something on your local workstation, and formulate the how you want to loop thru the images and tickets.

Also, when you currently download and decode the image does it give you the original file?Or was the encoding done while the migration was being done?

0 votes
Jehan Bhathena
Community Champion
November 17, 2024

Hi @Vengadesh 

If you download the file and decode the file back, does it give you the original image file?

Ref to decode via cli https://askubuntu.com/a/178546

If yes, then you'll have to create a script that loops all the tickets with such attachments, download each attachment -> decode -> upload to the same ticket.

Vengadesh November 17, 2024

Hi @Jehan Bhathena

Where to do scripts within jira?.Are you mentioning about any third party sources

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events