@Michael Foster did you ever get an answer to this error?
We are also seeing this same error, in the exact same circumstance - an org admin trying to create a project using Jira Cloud rest API:
Request (In Groovy)
{"message":"Failed to create Project from async task: e94bd8fe-b04c-4b89-a72b-1e38a0ed06dc, cause: FAILED, failing stage: project.create.flow.unscoped.product.hook ","status-code":500,"stack-trace":""}
We will open a ticket with Atlassian support regarding the issue as well, but wondering whether you received any info on this when you encountered it.
Update on this: it seems like using a different project key resolved the issue. Given that these requests are made by a testing suite and the same project key is used to create a project every test run (and delete the project during cleanup), it feels like we hit some sort of limit on Atlassian's end, like a max ID value for some kind of internal entity that they store when a project is created. I imagine this is an uncaught and unexpected exception, meaning we get a 500 with some cryptic wording rather than a 4xx.
In the support request I opened with Atlassian, I have suggested that they document and handle this exception better so that future users don't have to get to the bottom of the issue via trial and error like we did.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
I am getting the following error while creating a new project :
Your admin gave you permission to create projects, but you don't have permission to view project templates. Contact your admin to have them fix your permissions or create a project for you.
Contact your admin
PS: I am in Jira admin group already which is part of global permission for creation of Company managed project ,
Please let me know how to fix this issue
Thanks
Faisal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Michael Foster , welcome to the Atlassian Community!
Have you checked in Global Permissions if the permission to create team-managed projects is allowed for some user or group?
Please, check this. Also, it will be great if you provide some screenshot associating to your error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fernando, I checked those permissions and creating team-managed projects was public. I deleted this and changed to org-admin group of which I am a part of and still no luck. I’m going to try to add a screenshot but unfortunately have been having issues because this forum is giving me errors as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
More info on error. In the console I am seeing
{
"message": "Failed to create Project from async task: bc37073a-a2c4-48cc-82c2-3c2270cc7cf8, cause: FAILED, failing stage: project.create.flow.unscoped.product.hook ",
"status-code": 500,
"stack-trace": ""
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's weird. By default you shouldn't be facing this problem. Have you tried using another browser or anonymous tab?
I try to replicate same steps as you and using a free site and it works pretty well to create team managed projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fernando Eugênio da Silva Have you tried creating multiple projects? This is my second project that I am trying to create. I tried a different browser (safari) as well as incognito on chrome still with no luck and the same 500 error in the api response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to be clear, you're facing this problem trying to create by API, by User Interface or the both?
With this I can try to create more projects and see how it works using one of those concepts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fernando Eugênio da Silva By user interface only, the error codes I added above are from the network tab on the chrome dev console
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Michael Foster , thanks for your feedback!
Well, as this problem is happenning by user interface and you have 500 code error. Looks like a problem more directioned to your jira site.
I suggest you open a ticket to suporte team by here: Atlassian Support
The team will be able to help you. As community, we have no access to jira infrastructure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.