Opening file/media viewer from Connect (& Forge)

Hi team,

in our app (https://jxl.app) we’d like to show the attachment(s) of an issue using Jira’s built-in file/media viewer. At the moment, this doesn’t seem to be supported by the Connect JS API.

I’m envisioning a call similar to

AP.jira.openAttachmentPreview(attachmentId);

Could such a feature be provided? (We need it for Connect now but it will also be needed for Forge in the foreseeable future.)

Many thanks,
Hannes

(Related question see Is it possible to integrate Media Viewer into the Jira Cloud app?)

6 Likes

I second this request :slight_smile:

We implemented our own dialog in our upcomming version for this as we noticed that the media dialog seems to handle multiple attachments in a strange way:
It iterate only over the ~6 attachments that are within the current “page”

We tried to use the Atlaskit Component but something blocked us from doing so, can’t remember the details

But we would love this idea too as it’s not a good way for the user experience

Hi @hobweger , @SaschaReuterQuestMat and @m.herrmann ,

I have created [ACJIRA-2379] Add a Javascript API to show Jira attachments - Ecosystem Jira to request this feature.

Regards,
Dugald

Is there any progress? It’s a blocker for our app listed on the Marketplace

@ElenaOvdienkoStiltso, this sure seems like a popular request! And, I can appreciate the need to know about progress but please make your votes and comments on the Jira ticket. That’s where the appropriate engineering team is going to see your interest and that’s where responses belong as the “authoritative record”.

I’m going to lock this thread in favor of directing people to ACJIRA-2379.