POST
/
integrations
/
jira
/
issuetemplates

Body

application/json
cmdb_types
object

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"
	    }
	  ]
	}
description
string

The description of the template

issue_type_name
string

The issue type name (request type) that will be associated to the issue

mapping_types
object

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.verb
      - session.start_date
    
  • custom: use a custom static value

      {
        "items": [
          {
            "description": "Hoop Connection Name",
            "jira_field": "customfield_10050",
            "type": "preset",
            "value": "session.connection"
          }
        ]
      }
    
name
string

The name of the template

project_key
string

The project key which is the shortand version of the project's name

prompt_types
object

The prompt fields that will be show to user before executing a session

	{
	  "items": [
	    {
	      "description": "Squad Name",
	      "jira_field": "customfield_10052",
	      "label": "Squad Name",
	      "required": true
	    }
	  ]
	}

Response

201 - application/json
cmdb_types
object
created_at
string

The time when the template was created

description
string

The description of the template

id
string

The unique identifier of the integration

issue_type_name
string

The issue type name (request type) that will be associated to the issue

mapping_types
object
name
string

The name of the template

project_key
string

The project key which is the shortand version of the project's name

prompt_types
object
updated_at
string

The time when the template was updated