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

1 vote
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 7, 2022
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!

Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2022
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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events