Have system write an internal comment once a date entered in a ticket is reached?

Jayven Khoonsirivong
Contributor
March 4, 2024

One of our forms, we have a date field for the user to have a task finished on. How can I make our Jira instance write an internal comment of our choosing on that specific date? I was poking around past forms and it looks like I cannot do this OOTB.

1 answer

0 votes
Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2024

If you have access to automation (Project Settings -> Automation), you can set up a "Scheduled" Rule to run everyday, and:

1. Run for all relevant tickets (you can use JQL to fetch them)

2. Check if {{now.jiraDate}} equals the value of the custom field.

2. If yes, add a comment to the ticket.

 

Hope that helps!

Jayven Khoonsirivong
Contributor
March 5, 2024

Interesting approach! Would this become resource hungry after a bigger amount of tickets coming through? Or maybe change the conditions to check every ticket X days prior to todays date only, then run your suggested condition?

Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2024

You can use JQL to pare down the number of tickets that are fetched - something like

customfield_value = {{now.jiraDate}}

Then you won't need the check as well since only those issues with the field value = today will be returned. 

Suggest an answer

Log in or Sign up to answer