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

Help with project automation

Hi Community,

I want to automatically calculate how many days has an issue been created. 

What I've done is to create a field called "创建日期" (sorry in Chinese) which automatically pick the date of when this issue was created. And now I'd like another field to always calculate "the date of today" minus ”创建日期“.

How to set the automation to achieve it?

Thanks a lot.

1 answer

Hi Ollie, 

Thanks for the reply, but what I want is not to calculate the difference between today and the issue created date, I want to calculate the difference between today and one specific field which is in date format. How can I make it? 


Almost there..I put like this: {{now.diff(issue.fields.创建日期).days}}

But the result is a negative value. How can I reverse it to positive?JIRA.png

Hi Ollie,

I want to tigger the automation every 5minutes, but when I set the trigger, there is an error. How can I correct it?


Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,103 views 34 44
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