Using Request Types in Jira Cloud Workflow Conditions
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
Use Workflow Conditions to restrict transitions by Request type.
Known limitation
A plain STRING comparison of Request Type in a workflow condition does not work (JSDCLOUD-5701). You must compare the request type's PortalKey/key with an Option ID using an Option ID comparison.
Solution
Find the request type keys
Use a current issue to find the issue ID
Navigate to an existing issue on the project.
Choose the Action menu ••• in the top right corner and choose Export to XML.
Use the browser search function to find the value for key id. In this example, the value is 10350.
Use the key ID to find the request type keys
Update the following URL with your domain and the ID you gathered in the previous step:
Load this URL in a browser window.
Find the request type you are looking for in this output and note down the following two values: portalKey and key.
In the example below, you can see that the Fix an Account problem Request type has the PortalKey jst, and the request type key is accountproblem.
Similarly, the Get a guest wifi account Request type has the PortalKey jst and the key is guestwifi.

The key is not always human-readable. Sometimes you will find a randomly generated string, such as 57f26069-ecc5-4328-9071-befd05758fb6
The request types returned by this endpoint are those that are associated with the issue type of the request. If the request type you are searching for is not present, confirm that the chosen request's issue type is associated with that request type
Configure the Workflow conditions
Navigate to the Workflow transition where you want to use this condition.
Add a condition with the following parameters:
Field: Request Type
Condition: =
Value: PortalKey/key
Comparison Type: Option ID
After publishing the workflow, attempt the transition on a request of the target request type and confirm it is allowed; attempt it on a different request type and confirm it is blocked.
Was this helpful?