Forums

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

Automation rule: Count days in 'New' status and add the number into number field

Martyna Trzpiola
May 14, 2026

Hi, I would like to ask for advice for the automation rule creation:

 

Count number of days in 'New' status and add this number into number field.

Currently I configured this and doesn't give me expected result:

Jira rule - review date.png

 

1 answer

0 votes
Nikola Perisic
Community Champion
May 14, 2026

Hi @Martyna Trzpiola 

Instead of how it was done by your side, I would do it like this:

Create these custom fields:

  1. New Started At
    Type: Date Picker
  2. Days in New
    Type: Number field

Rule 1 — Store when issue enters New

Trigger: Issue transitioned
To status: New

Action: Edit issue fields

Set New Started At to:

 

{{now}}

Rule 2 — Calculate days in New

You have two good options.

Option A — Update when issue leaves New

Use this if you only care about the final number after the issue leaves New.

Trigger: Issue transitioned
From status: New

Action: Edit issue fields

Set Days in New to:

 

{{issue.New Started At.diff(now).days}}
Martyna Trzpiola
May 14, 2026

I need to show number of days in NEW live - automatic update every day. Kind of deadline if something is there for more than x days team will pick it up as first.

Please let me know if I understand correctly, 

you suggest to set up 2 rules together?

1. to identify date when created as NEW

2. Calculate days in new.

 

Isn't it enough to just set up calculate days in new on date picker is a must for calculation?

how should second rule look in your opinion?

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events