Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help with project automation

tianchi June 7, 2022

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

tianchi June 8, 2022

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? 

Thanks!

tianchi June 8, 2022

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

tianchi June 8, 2022

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?

Thanks!JIRA.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events