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

Optimizable items, about uploading attachments #70

Open
FJJ95 opened this issue Jan 27, 2022 · 0 comments
Open

Optimizable items, about uploading attachments #70

FJJ95 opened this issue Jan 27, 2022 · 0 comments

Comments

@FJJ95
Copy link

FJJ95 commented Jan 27, 2022

public static async Task<Attachment> AttachAsync<TContent>(this IAttachmentDomain jiraClient, string issueKey, TContent content, string filename,

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

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

1 participant