I'm learning Rest Api's in Jira now .
i want to know is it possible to create a project in Jira with Rest API.
i got a code through Chat Gpt and tried to do that but got some error .
in body i mention like this
Hi @CHINNAMUTHEVISAI.SATYANARAYANASHARMA ,
sure, you can. Please take a look to the following documentation https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-post
There are some missing parameters in your request.
Fabio
Thanks Fabio for your help.
even after mentioning all details i got error that error parsing Json , check your body is valid error.
i added this code in the Body
i want to remove avatar id from that as we dont user Avatars more .
can you help me ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@CHINNAMUTHEVISAI.SATYANARAYANASHARMA ,
Did you check if the user you are using has the permission to create projects ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Taha,
Yes User is an Org admin and he have a permission to create project.
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.
Hi Taha,
I'm able to create a project through Rest API
i used below code.
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.