I want to attach files bigger then 150 mb by using Jira API, how is that possible?
Hi @Daniel Joskovski
You can use /rest/api/3/attachment/meta endpoint to get the limit configured for you jira instance.
You can configure max size from in JIRA settings. https://support.atlassian.com/jira-cloud-administration/docs/configure-file-attachments/
Regards
I read somewhere that Size limit for attachment posted by Jira API, cannot be changed, from 10mb. From UI you can attach bigger files but not with API
Hi @dan
The 10mb limit is for server/DC (the default value). Jira cloud should be 1gb default.
In Attachment Size, specify the maximum attachment size. The default (per file) is 1 GB. The maximum attachment size (per file) is 2 GB.
https://support.atlassian.com/jira-cloud-administration/docs/configure-file-attachments/
Check the attachment limit set on your instance.
It's indeed for DC/Server, make sure to read Cloud related kb.
Admin gear > Attachments > Edit Settings
Can you verify the attachment size configured in your instance?
If you do it manually, how big can the file be?
There shouldnt be a 10mb limit. Check the docs if you have anything missing.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post
Searching for clues, I saw they added code to manage the chunks. cant find it again.
Maybe that's the problem?
It looks like you're new here. Sign in or register to get started.