Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading attachments #16

Open
boogsbunny opened this issue Apr 23, 2020 · 3 comments
Open

Loading attachments #16

boogsbunny opened this issue Apr 23, 2020 · 3 comments

Comments

@boogsbunny
Copy link

When a JIRA ticket has an attachment e.g. images, it is either referred to as:

  1. !Foobar.png! in the description
  2. It's not available at all.

How could I load the appropriate attachments in the buffer?

@nyyManni
Copy link
Owner

nyyManni commented May 8, 2020

JIRA's REST API has methods for listing and fetching the attachments. I did some initial testing with it a couple of years ago with ejira, having an Attachments-heading alongside Comments. The attachments were shown as links and the attachment could be opened in the browser with C-c C-o. I wasn't happy with the way it was working so it never made it into the project, though.

Maybe a better way to do it would be to download those attachemts onto disk and then use a native application to open them (which in many cases would be Emacs). They would then also be available offline.

What kind of attachment workflow would suit you best?

@MadEarl
Copy link

MadEarl commented May 8, 2020

If I can chime in here ...
With regards to uploading attachments, what I would love to have would be what org-msg does (HTML email creation for mu4e through org): You can just create an org-mode link to a file, and org-msg takes care of attaching it and displaying it inline.
I'm not sure if I'd like to download attachments to tickets when syncing. In our case, those can be huge files (logs and suchlike). Deeplinks to them sounds fine to me, and ideally, the pointers in the description could be activated to load the inline picture from the jira server into the buffer.

@boogsbunny
Copy link
Author

I would prefer to have a persistent cache folder downloading the attachments and displaying them inline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants