Retrieve Customer Request Type Key

Jh
Contributor
August 22, 2024

In Jira Service Management in Server, I have a SIL script runnerlog that I used to retrieve a customer request type key, for example

string [] result = sql("Jira", "SELECT \"KEY\" FROM \"AO_54307E_VIEWPORTFORM\""); printInFile("request_type_keys.txt", result); runnerLog(DEV-1502).#{Customer Request Type});

This output a .txt file in SIL manager with a unique ID for the Customer Request Type that I used for creating issues, example: 

 

if(Location == "MyLocation") {

IT_sub_custom_fields1 = "assignee|user|Customer Request Type|dev/89c22562-f928-4b05-a5f9-1cfc2a9013b7";

What is a method to retrieve the KEY in Jira Cloud?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events