Forums

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

Scripted Field on JSM Cloud for Risk

Robert Wen_Cprime_
Community Champion
June 5, 2023

So, I'm trying to create a custom risk score for Change Management on JSM.  I'm using ScriptRunner to create a scripted field.

I'd like to adjust the numeric value of the scripted field (the return value) based on questions set up as select lists.  e.g. Question 1: "Have you tested this in a non-prod environment", increments the risk score by 50 if "No" is selected.

Right now, I'm stuck figuring out how to get the values of my question fields.

Does anyone have sample code for this?  It appears for cloud it's Typescript and not Groovy (but I could be mistaken).

Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Robert Wen_Cprime_
Community Champion
June 6, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events