The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events