Hello All,
I have a requirement regarding the Due Date field. We have a list of customer records stored as tickets. When a customer selects a due date, and the selected date matches the due date of any existing tickets in the list, the Number Field on the updated ticket should be set to 2. Additionally, if there are already existing tickets with the same due date (e.g., 5), the Number Field should increment accordingly (e.g., to 6).
Could someone please assist with configuring Jira automation to fulfill this requirement? Thank you!
Regards,
Rajesh
Hello @Rajesh_Kumar
How do you compile the list? What is the criteria for a ticket to be included in the list?
When does the due date value change? Is that only when the ticket is created?
What if the due date is changed at a later date? Do you need to update the tickets that previously matched the due date and restart the count on the ticket where the due date was changed?
Can you walk us through a scenario for multiple tickets being created over time with matching due dates? Example
And what should happen if the date on one of these tickets is changed to some other date?
What problem are you trying to solve by recording this information? What do you plan do do with the information?
If we understand your use case we might be able to suggest alternatives.
Hi @Trudy Claspill Thanks for the response,
Actually we created tickets for the customers which are around 90. With in these 90 tickets they update due date.
By default number field value is zero, If due date is empty for all the ticket and now it got updated with 02/01/2025, then the number should be updated with 1 on Ticket-1.
Now the ticket-1 is having date selected and again user comes and select same date which is 02/01/2025 in Ticket-2, then the number field value should be increased to 2 on current ticket and Ticket-1. If user selected other date like 05/02/2025 then the number field should increments with 1.
If Ticket-10 due date is selected with 05/02/2025, then on that ticket the number field should increase to 2 on both current and Ticket-2.
If there are any alternate ways please suggest. Thanks
Regards,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Rajesh_Kumar
Thank you for clarifying the requirement. Let me repeat it back to make sure I understand.
You want all tickets that have the same Date to have their Number field set to the total count of tickets that share that date.
You want to check what that total count is. If it exceeds a specified limit, action needs to be taken.
1. What would you expect to happen if the date was set, but then gets changed? Would you expect the counts in tickets that had the original date to be recalculated?
2. Are there any other criteria besides date that you use to include or exclude tickets in the count? For instance, do they have to be the same type of ticket, in the same project, have the same Status (or not be "done")?
Your requirement could be achieved using the Automation Rules functionality. Are you familiar with that feature?
https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
The logic needing to be implemented would be something like this:
WHEN: date field is changed
IF: original value was not blank
- Lookup Issues that had the Original Value
- Change the Number field to the new count
IF: new value is not blank
- Lookup Issues that had the New Value
- IF the count of issues is below the limit
--- Change the Number field to the new count
- ELSE
--- Clear the date field
--- Send an email to the user
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.