Originally asked by Javier Pozuelo on 03 May 2024 (original question)
I need to create a trigger that Exalates Jira Service Management tickets when the request type = “Ask a question”
Originally asked by Javier Pozuelo on 03 May 2024 (original question)
I need to create a trigger that Exalates Jira Service Management tickets when the request type = “Ask a question”
Answer by Javier Pozuelo on 03 May 2024
You can create the following trigger
project = XYZ AND "Request Type" = "Ask a question"
Note: Replace “XYZ” for your project key
You can also use the following script in your firstSync statement, so the issue is created only if it matches the request type
if(firstSync && issue.customFields."Request Type".value == "Ask a question")
The script above will return the name of the Issue Request Type, for example: “Ask a question”