Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Automatically tag a user in a comment when few custom fields are updated


Hi Team,

We have a requirement that basically the problem we are trying to solve is that particular user needs to know when one of some custom fields are updated. We have asked the people making those changes in the jira ticket to tag user in a comment anytime they make a change but sometimes it is missed, so we were trying to see if there was some automated solution to notify user of those field changes - but not overwhelm user inbox.

We have JMWE, Script runner and JSU addons , and we are on jira server 8.20.6.


2 answers

1 accepted

1 vote
Answer accepted

Hi @Lakshmi S ,

Using Email Issue-JMWE Post function or Comment Issue- Post function within event based actions you will be able to achieve your requirement.



This is perfect @Avinash Bhagawati _Appfire_ . Thank you so much for your assistance. I used "Issue Updated" event. User was complaining they are started receiving lot of notifications.

Hi @Lakshmi S ,

Thanks for your response on this. Can you please make sure to use "Issue Field Value changed" event with field you would like to monitor. Also, Issue Updated event triggers even if you make any modify any field in the issue. Probably, this is triggering the many notifications to users.

Additionally, for example in my above screenshot. Whenever the value of field "Change Type" has been changed to "Standard" then automation commented will added to the ticket.


0 votes
Rik de Valk Community Leader Aug 23, 2022

Hi @Lakshmi S

I would suggest to set up a Scripted Listener using ScriptRunner.

This Listener would listen to the event 'Issue Updated'. And using Groovy you can check the changelog for the event.


GenericValue changeLog = event.getChangeLog();
You can iterate through the changelog and see if the specific fields you want were updated. In the below example I check Acceptance criteria and Story points. And I set a variable fieldsChanged to true if one of these was updated.
for (Iterator<GenericValue> iterator = changeItems.iterator(); iterator.hasNext();){

    GenericValue changetemp = (GenericValue);

    String field = changetemp.getString("field")

    if(field == "Acceptance criteria" || field == "Story points") {

        fieldsChanged = true


And when the field(s) were changed, you can have the script do whatever you would like it to do; send an email this person who needs to be informed, or add a comment mentioning this user.
Have a nice day!

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events