Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

scripted field creation

ramani punugoti June 29, 2021

can i have one script field which is stating below as

SLA Remaining Days=Current Date-(created Date + ACC SLA)

if ACC SLA value is null, it should be replaced with value 0 Also make the custom field value as an integer instead of an string so that we can use that in this calculation this should be calculated as a number of days ,and if it will have a negative value when it got beyond the SLA date requirement

 

and ACC SLA is a custom field already there which has options

30 Days

60 Days

90 Days

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
ramani punugoti June 29, 2021

can you please give me a groovy script for creation of script field

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events