Standard Issue Types for JIRA Project Template Plugin

Tanner Reese June 8, 2018

While creating a JIRA Project Template Plugin (https://developer.atlassian.com/server/jira/platform/creating-a-project-template/#step-5-set-up-the-json-configuration-file), how do you specify an issue type scheme that contains some of the standard issue types (i.e. Epic, Bug, Task). The screen configuration and fields for these issue types must be unaltered.

The tutorial provided produces an issue type scheme with custom issue types that lack the fields they are usually associated with.

1 answer

1 accepted

0 votes
Answer accepted
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 10, 2018

Hello @Tanner Reese

Possible duplicate here

https://community.atlassian.com/t5/Jira-questions/JIRA-project-template-How-to-link-to-existing-workflow/qaq-p/53713

From the above link

"unfortunately Project Templates is designed to create new issue type and workflow schemes on each project creation and it is not possible through the JSON file to reuse an existing one. You can however use existing issue types by using the same name in the JSON configuration file. For example, if 'Bug' exists and you specify an issue type with name 'Bug' it will use the existing one in the system.

If there would really be a need to reuse existing schemes, you might try doing this through the AddProjectHook: don't specify a JSON configuration file and just do the creation/reusing of the schemes in that hook programatically."

Thus, if you can reuse existing type by mentioning them explicitly in the Json configuration.

Suggest an answer

Log in or Sign up to answer