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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

scripted field creation

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

0 votes
Answer accepted

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

60 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you