Best approach to store imgaes for JIRA cloud App

Hi Experts,

I am using Atlassian connect spring boot framework to develop my cloud app. What is the best approach to store image for my cloud app?

Approaches to store images:

  1. Store images in file system
  2. Store image in the database as @Lob format
  3. Any existing Jira cloud APIs to store my image.

Need expert advice for the cloud app?

Hello,

as you suggest, storing the images on an external file system is a valid option, I would choose S3 bucket in your case. Serializing it into a database will also work, which would make sense in case you want to append some metadata to it and filter by them.

But question is, how the images relate to Jira? If they have a relation to issues, you may add them as attachements to issues via the rest api: https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-issue-issueIdOrKey-attachments-post. In such case you don’t need to worry about any infrastructure around managing files yourself.

Regards,
Vojtěch Schlemmer [MoroSystems, s.r.o., Czech Republic]

1 Like

@VojtechSchlemmer Thank you much for your response.