Forums

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

"auto populate a comment" or "auto update a comment"

Joseph Dennis April 20, 2022

I would like to know if its possible for "auto populate a comment" or "auto update a comment" on a JIRA ticket based on a field which is a date field.

For example : if the date in date field is more than 7 days it should "auto populate a comment" in the ticket without the agent intervention.

1 answer

1 accepted

1 vote
Answer accepted
Joseph Chung Yin
Community Champion
April 20, 2022

@Joseph Dennis -

Hi Joseph:

You can uses automation rule (i.e. similar with a scheduled rule setup + JQL query) to trigger the auto commenting to the selected issues that fits your criteria.

Example -

2022-04-20_21-31-53.png

For example my rule is testing if the duedate date has passed today's date + 3 days.  If so, add the comment automatically to the issues.

You can also find the following reference - https://www.atlassian.com/software/jira/automation-template-library/auto-close-jira-issues

Hope this give you some ideas again.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Joseph Dennis April 25, 2022

Hi Joseph

Apologies for getting back to you late.

I'm looking for a field when the date crosses 7 days and the rule should run every day.

Any suggestions on that ?

Joseph Dennis May 9, 2022

Hi Joseph

Apologies for getting back to you late.

I'm looking for a field when the date crosses 7 days and the rule should run every day.

Any suggestions on that ?

If a field date is more than 7 days old it needs to populate a comment on the ticket.

Which means if the ticket is updated after 7 days shouldn't be updated with the same comment again.

Can you help

Joseph Chung Yin
Community Champion
May 9, 2022

@Joseph Dennis -

Perhaps you should create a custom field and populate it with a value after the issues (one that you triggered the initial comments with same automation rule).  You can then use the field as a condition check to prevent another update being conducted again.

Hope this helps. If so, please click on the Answer Accepted when you have a chance.

Best, Joseph

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events