Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

what is the characters limitations/count while creating new project?

Neha March 2, 2020

1) What is the max characters limitations/count while creating new project, project key, repository and branch name.?

2) Is the limitation same during automatic(via API) or manual creation of new project, project key, repository and branch name.? Once we call API for creation branch – what is the real max size?

3) 

Just now I did few tests – I got following error by API: The ref name, once fully qualified, is limited to 111 characters.

But this error received even if I sent 109 chars in the name field.

I sent, for example following parameters for create branch (in this example without branch type in the prefix):

{   

"name": "boris-test-3Ov8hzSPE6vInOv8hzSPE6vInOv8hzSPE6vInOv8hzSPE6vInOv8hzSPE6vInOv8hzSPE6vInOv8hzSPE6vIn111111111111",   

"startPoint": "refs/heads/master"

}

 

I tried with 97 chars – branch is created…

So what is a logic? What is real max size for API (include branch type prefix)?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events