dapplo / Dapplo.Jira

This is a simple REST based JIRA client, written for Greenshot, by using Dapplo.HttpExtension
MIT License
34 stars 14 forks source link

Optimizable items, about uploading attachments #70

Open FJJ95 opened 2 years ago

FJJ95 commented 2 years ago

https://github.com/dapplo/Dapplo.Jira/blob/4958fe6d4b785cc580f57615510d485dc16cc996/src/Dapplo.Jira/AttachmentDomainExtensions.cs#L26

Thanks for your help, it saved me a lot of time, The following are only suggestions for optimizable items, not questions or denials.

As mentioned in the developer article, Jira's attachments can support multiple uploads, and I myself tried PostMan to call the API to test the results, So I think it is possible to support multiple files here, if we want to do.

https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-attachments/#api-rest-api-2-issue-issueidorkey-attachments-post