Create project template with issue type screen scheme

A complete example from one of mine:

{
  "issue-type-scheme":
  {
    "name": "Task Tracking Issue Type Scheme",
    "description": "A collection of Issue Types for tracking projects and tasks.",
    "default-issue-type": "taskType",
    "issue-types": [
      {
        "key": "epicType",
        "name": "Epic",
        "description": "A big user story that needs to be broken down.",
        "avatar": "/images/svg/epic.svg",
        "icon": "/images/png/epic.png",
        "screen-scheme":"epicDefaultScreenScheme"
      },
      {
        "key": "taskType",
        "name": "Task",
        "description": "A task that needs to be done.",
        "avatar": "/images/svg/task.svg",
        "icon": "/images/png/task.png"
      },
      {
        "key": "subtaskType",
        "name": "Sub-Task",
        "description": "A sub-task of the issue.",
        "avatar": "/images/svg/subtask.svg",
        "icon": "/images/png/subtask.png",
        "screen-scheme":"subtaskDefaultScreenScheme",
        "sub-task": true,
        "workflow": "simpleWorkflow"
      }
    ]
  },
  "workflow-scheme":
  {
    "name": "Standard Task Workflow Scheme",
    "description": "A collection of Workflows assigned to Issue Types, used in projects for tracking projects and tasks.",
    "default-workflow": "taskWorkflow",
    "workflows": [
      {
        "key": "taskWorkflow",
        "name": "Standard Task Workflow",
        "description": "Basic 3-step workflow for JIRA new project creation blueprint.",
        "workflow-bundle": "/workflows/Standard-Task-Workflow-1.1.jwb"
      },
      {
        "key": "simpleWorkflow",
        "name": "Standard Simple Workflow",
        "description": "Basic 2-step workflow for JIRA new project creation blueprint.",
        "workflow-bundle": "/workflows/Standard-Simple-Workflow-1.1.jwb"
      }
    ]
  },
  "issue-type-screen-scheme":
  {
    "name": "Task Tracking Issue Type Screen Scheme",
    "description": "A collection of tabs and fields, used for tracking Tasks and Projects.",
    "default-screen-scheme": "taskDefaultScreenScheme",
    "screens": [
      {
        "key": "taskDefaultScreen",
        "name": "Task Tracking Default Screen",
        "tabs": [
          {
            "name": "Field Tab",
            "fields":[
              "issuetype",
              "summary",
              "description",
              "attachment",
              "security",
              "components",
              "priority",
              "duedate",
              "reporter",
              "assignee",
              "labels"
            ]
          }
        ]
      },{
        "key": "epicDefaultScreen",
        "name": "Task Tracking Epic Screen",
        "tabs": [
          {
            "name": "Field Tab",
            "fields":[
              "summary",
              "description",
              "attachment",
              "security",
              "components",
              "priority",
              "duedate",
              "reporter",
              "assignee",
              "labels"
            ]
          }
        ]
      },{
        "key": "subtaskDefaultScreen",
        "name": "Task Tracking Subtask Screen",
        "tabs": [
          {
            "name": "Field Tab",
            "fields":[
              "summary",
              "description",
              "attachment",
              "security",
              "components",
              "priority",
              "duedate",
              "reporter",
              "assignee",
              "labels"
            ]
          }
        ]
      }
    ],
    "screen-schemes": [
      {
        "key": "taskDefaultScreenScheme",
        "name": "Task Tracking Default Screen Scheme",
        "default-screen": "taskDefaultScreen"
      },{
        "key": "epicDefaultScreenScheme",
        "name": "Task Tracking Epic Screen Scheme",
        "default-screen": "epicDefaultScreen"
      },{
        "key": "subtaskDefaultScreenScheme",
        "name": "Task Tracking Subtask Screen Scheme",
        "default-screen": "subtaskDefaultScreen"
      }
    ]
  }
}
1 Like