Attachments formatting in text

Alena Karnaukhova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2024

Hi there!
We are fetching text from jira tickets and comments to show them to our customers. To do this we are transforming Jira markup to Markdown. We have some problems on parsing attachments. I haven't found any documentation on which formats exist there. Until now, we have found that attachments can look like this:

  • [^some-file.txt]
  • [^some-other-file.txt (there-is-some-text)]
  • !image.png|width=200,height=200,alt="image.png"!

Are there any other formats? We have to parse all of them and I'll be grateful if you could help!

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 19, 2024

@Alena Karnaukhova Welcome to the Atlassian community

Have you thought about using the API?  You can pull the attachment via the API. https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#version 

Suggest an answer

Log in or Sign up to answer