Creating jira project using jira rest api .
I am able to create the Business type project in jira by using below
ProjectTypeKey : "business";
ProjectTemplateKey : "com.atlassian.jira-core-project-templates:jira-core-project-management";
I also tried to create Scrum type project with below ,but getting error ,its not created the Scrum project
ProjectTypeKey : "Scrum";
ProjectTemplateKey : com.pyxis.greenhopper.jira:gh-scrum-template
Please help me in creation Scrum type project
Thanks a lot Ravi.
I am able to create the Scrum project using Jira rest api.
I have 1 more query
One of my Jira instance version is 6.4.10 . In that instance from JIRA UI its not giving the option to create business type project .
Do I need to add any plugin or and configuration setting is required ? Please let me know
Hi Varsha Kumari,
Please note that projectType has been introduced from JIRA 7.x. You should not be looking for that feature in JIRA 6.x
Typical installation for JIRA 6.x has the following three options (Refer below image) and they are organized differently when compared to JIRA 7.x. Please note that this is JIRA native feature and does not entail installing/configuring any plugins
Refer Atlassian Documentation - https://confluence.atlassian.com/adminjiraserver071/jira-applications-and-project-types-overview-802592214.html
Hope this answers your query.
Regards,
Ravi Varma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used the below and getting the error
"projectTypeKey": "Scrum",
"projectTemplateKey": "com.pyxis.greenhopper.jira:gh-scrum-template",
{
"errorMessages": [
"An invalid project type was specified. Make sure the project type is available in your JIRA instance. Please talk to your JIRA administrator if you need more help.",
"An invalid project template was specified. Make sure the project template matches the project type you specified."
],
"errors": {}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira version : 7.1.9
From Jira UI while creating the project its giving the option to create Scrum type project.
But with rest api giving error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varsha Kumari,
Please use "projectTypeKey": "software"
Refer Atlassian JIRA Ticket - https://jira.atlassian.com/browse/JRASERVER-59658
Refer Community Ticket - https://community.atlassian.com/t5/Answers-Developer-Questions/JIRA-API-7-1-0-Create-Project/qaq-p/551444
Let me know if you still have problems.
Regards,
Ravi Varma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Varsha Kumari can u please send me the code of creating a scrum template of creating a new project i am getting error.. it was saying that the "projectTypeKey" is not defined or unexpected keyword it is saying. can u please send me. and @Ravi Varma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What error do you have? What is your Jira version?
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.