Create Issue Templates
Create Issue Templates
Body
The name of the template
The project key which is the shortand version of the project's name
The request type that will be associated to the issue
Cmdb Types are custom fields integrated with the Jira Assets API
{
"items": [
{
"description": "Service Field",
"jira_field": "customfield_10110",
"jira_object_type": "Service",
"required": true,
"value": "mydb-prod"
}
]
}
The description of the template
The name of the issue transition to change the state of the issue when the session closes
The automated fields that will be sent when creating the issue. There're two types
-
preset: obtain the value from a list of available fields that could be propagated The list of available preset values are:
- session.id - session.user_email - session.user_id - session.user_name - session.type - session.connection - session.status - session.script - session.start_date
-
custom: use a custom static value
{ "items": [ { "description": "Hoop Connection Name", "jira_field": "customfield_10050", "type": "preset", "value": "session.connection" } ] }
The prompt fields that will be show to user before executing a session
{
"items": [
{
"description": "Squad Name",
"jira_field": "customfield_10052",
"field_type": "text|select|datetime-local",
"label": "Squad Name",
"required": true
}
]
}
Response
The time when the template was created
The description of the template
The unique identifier of the integration
The name of the issue transition to change the state of the issue when the session closes
The name of the template
The project key which is the shortand version of the project's name
The request type id that will be associated to the issue
The time when the template was updated