Forums

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

Converting PDF to Image

Anantha Padmanabha Naidu K October 11, 2024

Friends, 
How do I convert all pages of the attached  PDF file(s)  of the given Issue to Images and attach the images back to the same Issue..
Please help.
Thank you in advance

Anantha Naidu

2 answers

1 accepted

2 votes
Answer accepted
Aron Gombas _Midori_
Community Champion
October 12, 2024

There are several APIs available on the public internet to convert PDF to image. 

For example:

  1. https://pdfrest.com/apitools/pdf-to-images/
  2. https://developer.pdf.co/api/pdf-to-image/index.html

Basically, you would need to write a little logic that uploads the PDF to the converter API you choose, then pass the resulted images to the attachment resource in the Jira Cloud REST API: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post

It should be fairly straightforward.

1 vote
Sebastian Krzewiński
Community Champion
October 11, 2024

Hi @Anantha Padmanabha Naidu K 

 

This is not possible do to in Jira.

Possible (I'm not sure how much possible) scenario but you need to find a tool with API. Then you can send pdf to this tool via API and download and save in a ticket image. This is only idea because I don't know what tool you can use to convert pdf to image and how they are working.

 

Regards,

Seba

Anantha Padmanabha Naidu K October 11, 2024

Thank you Sebastian. 
I am doing exploration for this.. yet to find a solution. Any pointers in this regard is much appreciated. 

Suggest an answer

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

Atlassian Community Events