The specific request object for creating a project with template.

interface CustomTemplateRequestDto {
    boards?: null | BoardsPayload;
    field?: null | FieldCapabilityPayload;
    issueType?: null | IssueTypeProjectCreatePayload;
    notification?: null | NotificationSchemePayload;
    permissionScheme?: null | PermissionPayloadDto;
    project?: ProjectPayload;
    role?: null | RolesCapabilityPayload;
    scope?: null | ScopePayload;
    security?: null | SecuritySchemePayload;
    workflow?: null | WorkflowCapabilityPayload;
}

Properties

boards?: null | BoardsPayload
field?: null | FieldCapabilityPayload

Defines the payload for the fields, screens, screen schemes, issue type screen schemes, field layouts, and field layout schemes

The payload for creating issue types in a project

notification?: null | NotificationSchemePayload

The payload for creating a notification scheme. The user has to supply the ID for the default notification scheme. For CMP this is provided in the project payload and should be left empty, for TMP it's provided using this payload

CMP:"project": {
"pcri": "pcri:project:ref:new-project1",
"notificationSchemeId": "pcri:notificationScheme:id:10000",
...
}
TMP: "notification": {
"pcri": "pcri:notificationScheme:ref:notification1",
"name": "Simplified Notification Scheme",
"notificationSchemeEvents": [
{
"event": {
"id": "1"
},
"notifications": [
{
"notificationType": "CurrentAssignee"
},
{
"notificationType": "Reporter"
},
{
"notificationType": "AllWatchers"
}
]
},
{
"event": {
"id": "2"
},
"notifications": [
{
"notificationType": "CurrentAssignee"
},
{
"notificationType": "Reporter"
},
{
"notificationType": "AllWatchers"
}
]
},...
]
}
permissionScheme?: null | PermissionPayloadDto

The payload to create a permission scheme

project?: ProjectPayload

The payload for creating a project

scope?: null | ScopePayload

The payload for creating a scope. Defines if a project is team-managed project or company-managed project

security?: null | SecuritySchemePayload
workflow?: null | WorkflowCapabilityPayload