Forums

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

Is there a way to count the number of times a End date field is changed ?

Kumar_rajarapu
Contributor
May 20, 2025

Is there a way to count the number of times a End date field is changed at 'In progress' and 'Done' statuscategory but not in 'To Do' statuscategory?

2 answers

1 vote
Akhand Pratap Singh
Community Champion
May 20, 2025

Hello @Kumar_rajarapu ,

Good day, Welcome to Atlassian Community.

I believe it is possible using Automation for Jira. You will need to create a Numeric custom field to store change counts, default value should be 0 

Trigger for Automation will be every time End date field value is changed

Condition will be status in any of "In progress' and 'Done'.

Action will be edit your custom field you created with 

{{#=}}{{issue.custom field name}} + 1{{/}}

 Please refer full Doc here: https://community.atlassian.com/forums/Jira-questions/Is-there-a-way-to-count-the-number-of-times-a-due-date-is/qaq-p/2269276

0 votes
Benjamin Črnjak
Contributor
May 20, 2025

Hi @Kumar_rajarapu ,

 

I'm thinking of one more approach similar to one @Akhand Pratap Singh provided.

If you don't want to create a new custom field, but you're using automation anyways, you could achieve this using issue (work) entity/property.

Here is a quick demo I made:

Automation

1. Every time end date / due date is changed

2. you can add here one more IF to check if status category is In progress or Done

3. Check if Entity property (I've called it EndDateChange) exists

And then there are 2 branches

1. If it does exist --> take value from response and set it asNumber --> add +1 --> update entity

2. If it doesn't exists --> that means it's the first time change --> create entity property


Count{{webResponse.body.value.asNumber}}

NewCount: {{#=}}{{Count}} + 1{{/}}


Screenshot_2025-05-21_08-13-49.png

 

Result:

Here are two runs, one after another.
Screenshot_2025-05-21_08-16-31.pngScreenshot_2025-05-21_08-16-36.png

Screenshot_2025-05-21_08-23-28.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.11.3
TAGS
AUG Leaders

Atlassian Community Events