@Pradeep BudharapuI'm afraid that there is not rest API to fetch Project Template Key.
But the set of available is limited and depend upon feature that you have installed/enabled on your cloud site.
Here is list of available templates, for each feature type.
business | com.atlassian.jira-core-project-templates:jira-core-simplified-content-management , com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval , com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking , com.atlassian.jira-core-project-templates:jira-core-simplified-process-control , com.atlassian.jira-core-project-templates:jira-core-simplified-procurement , com.atlassian.jira-core-project-templates:jira-core-simplified-project-management , com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment , com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking |
service_desk | com.atlassian.servicedesk:simplified-it-service-desk , com.atlassian.servicedesk:simplified-internal-service-desk , com.atlassian.servicedesk:simplified-external-service-desk |
software | com.pyxis.greenhopper.jira:gh-simplified-agility-kanban , com.pyxis.greenhopper.jira:gh-simplified-agility-scrum , com.pyxis.greenhopper.jira:gh-simplified-basic , com.pyxis.greenhopper.jira:gh-simplified-kanban-classic , com.pyxis.greenhopper.jira:gh-simplified-scrum-classic |
Also please visit this page for more details - https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-project-post
Just imagine if i am calling get projects API and i got 100 projects .
Now i want segregate based on project template so how do i know from out of 100 projects which projects belongs to which type of Project Template (Project Template Key)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think that is possible.
Project created doesn't store Project Template Key information with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you're right, the project template is used as, well, a template - it is only used during project creation, and it is not stored with the project because it's of no use after a project has been created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then how the Jira is differentiating the Project to Project on what basis ..??????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the unique project key.e
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, My expectation is Project to Project different means template difference , if it is not storing any where project template type how it is differentiating and how it is loading project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pradeep BudharapuProject templates are used to define structure on project, take it as a meta of meta for project. Once project meta is defined (project created) all information from project template is inside project meta, and there is no need for project template now.
Project type like, 'business, software, service-desk' are still stored in project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira differentiates between projects on the project key.
Every project has has a set of configurations (meta data) which determines how it works. The template is used to create a set of configurations for the project upon creation, these are then used by the project and define how it works. You can change these configurations, and they can be shared between projects.
The template used to create a project is not recorded - it's useless after the project is created because an admin can (and often does) change the configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, when I create a jira project by rest api, how can it share the same configurations with another project during creation?
It seems that there is no such parameter like 'share' or 'template'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cannot find that in the API either, I don't think it's there (yet)
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.