JIRA CLOUD JIRA ON PREMISE
This article shows how to set the request type using the visual editor
Whenever using the visual editor, it is not possible to set the request type on a Jira Service Management project, because the custom field is not listed as a mapping option.
Within the visual editor, it is possible to add a script rule which solves this gap - more examples are available in the Script rules examples document
Request types on Jira Service Management are configured per issue type.
In the example below the request type 'Report a problem' and 'Issue with a build' are both mapped to the issue type 'Incident'
To be able to set the customField request type to a certain value - make sure that the ticket is created with the corresponding issue type.
The issue type can be set by using the 'issue type mapping rule'
In the example below - tasks in the software project is mapped to the 'Add a question' issue type
Once that the issue type is set correctly, add a script rule
In the script rule add following code
Give it a try
Back to FAQ