Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is size limitation for Attachments in Jira Cloud posted by API

Daniel Joskovski
January 26, 2026

I want to attach files bigger then 150 mb by using Jira API, how is that possible?

 

2 answers

0 votes
Aaron Pavez _ServiceRocket_
Community Champion
January 26, 2026

Hi @Daniel Joskovski 

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?

Regards

0 votes
Florian Bonniec
Community Champion
January 26, 2026

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

Daniel Joskovski
January 26, 2026

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

Aaron Pavez _ServiceRocket_
Community Champion
January 26, 2026

Hi @dan 

The 10mb limit is for server/DC (the default value). Jira cloud should be 1gb default.

  1. 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.

Regards

Florian Bonniec
Community Champion
January 26, 2026

It's indeed for DC/Server, make sure to read Cloud related kb. 

Admin gear > Attachments > Edit Settings

Daniel Joskovski
January 26, 2026

Thank you, you both point to same link, but this is known. I am asking for Attachment Size when issue is created by using Agile rest API, not by using UI. For example, 

public async Task UploadAttachmentAsync(string issueKey, string filePath)
{
using var client = CreateJiraClient();

client.DefaultRequestHeaders.Add("X-Atlassian-Token", "no-check");

using var form = new MultipartFormDataContent();
using var fileStream = File.OpenRead(filePath);

var fileContent = new StreamContent(fileStream);
fileContent.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");

form.Add(fileContent, "file", Path.GetFileName(filePath));

var response = await client.PostAsync(
$"/rest/api/3/issue/{issueKey}/attachments",
form);

response.EnsureSuccessStatusCode();
}

I hit limit of 10MB per attachment, is that documented somewhere

Florian Bonniec
Community Champion
January 26, 2026
Daniel Joskovski
January 26, 2026

Yes

And configured is 1GB per attachment, so I am searching for link where this is documented

Florian Bonniec
Community Champion
January 27, 2026

If your file is less than 1GB and total amount of attachment is less than the storage limit of you plan and you have the proper permission to upload attachments, I invite you to raise a request to Atlassian support.

 

If you do it through the UI for that issue, do you have an error as well ?

https://support.atlassian.com/jira-cloud-administration/docs/configure-file-attachments/

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events