Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

147 views 0 3
Join discussion

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