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

Calculated date field according to ticket creation date

Hi all,

I'd like to create a calculated field to show SLA date.

It should be calculated as following: ticket creation date + 10 days.

Is it possible to base on ticket creation date?

I tried this:

<!-- @@Formula:(issue.created == null ? null : issue.created.plusDays(10)) -->

but the field isn't even visible in the screen.


Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted

You should be able to use 

<!-- @@Formula:

issue.get("created") + 10


Thanks Pete, I tried creating both calculated number and date fields, inserting the formula above but field is still not visible in issues edit screen.

(although these custom fields are configured to be shown in this screen) - any idea why?

to be exact, this works:

<!-- @@Formula:



the problem is with adding the 10 days.

I'm not sure - can you check the log files for errors?  Just putting +10 on the end worked for me.

thanks, it might be a permission issue

Suggest an answer

Log in or Sign up to answer

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