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?
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
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:
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{{/}}
Here are two runs, one after another.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.