Forums

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

Send notification to user who are in custom fields at some statuses

Maro Hamamjyan
Contributor
November 21, 2019

Hello,

 

Do you know a good plugin, that will help me to configure system so that each time Iit will send notification to a user who is in custom field, when the status in a ticket is for ex. "In progress". I need this to work in real time, not with job that will work for ex. every Monday...

2 answers

1 accepted

0 votes
Answer accepted
Andrew
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2019
Jack Brickey
Community Champion
November 21, 2019

other options - Automation for Jira, Power Scripts, etc.

Maro Hamamjyan
Contributor
November 22, 2019

Hi @Andrew  ,

The option seems to be very good one, but can you please help me with this:
1. How can I set ${request.details} in body? Should I write it in other way? Where can I find info about inserting variable syntax?
2. in the mail body I want the available this line: Dear Managers (Managers in this case are in custom user field). How can this be achieved?

Thanks

Andrew
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2019

Hi,

In listeners, exist 'send custom email' that has link to http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html

I use $issue.key. Maybe You need $issue.description ?

B.R.

Maro Hamamjyan
Contributor
November 25, 2019

Hi,

Thank you, It is possible now to send notifications. One more question please, in the notification body, all the text is in one line. I used HTML option in the template. How can I set enters, bold in the text...? Should I write HTML in the code?

Maro Hamamjyan
Contributor
November 25, 2019

I used HTMl tags and the problem was solved. Thanks

0 votes
Kian Stack Mumo Systems
Community Champion
November 21, 2019

Maro,

You should check out building custom events. Basically, you add a custom event to the system, and configure your workflow to throw that event when you enter the status you want. In the notification scheme, set the new custom event to notify the users in this custom field you have.

The end result will be that users in that custom field will be alerted when the issue is transitioned to a particular status.

Does that make sense? The link I provided details a bit more about each of these steps.

Thanks,

Kian

Jack Brickey
Community Champion
November 21, 2019

@Kian Stack Mumo Systems the one caveat here is that the custom field is set before the transition. if the process allows for the field to be updated after already being transitioned to In Progress then the custom event would not work, right?

Kian Stack Mumo Systems
Community Champion
November 21, 2019

Yes, you would need to set the custom field prior to, or during the transition. My reading of the ticket, which could be wrong, was to the send the notification WHEN the ticket was placed into the status. If they want something other than this they would need to pursue some other option.

Maro Hamamjyan
Contributor
November 21, 2019

Hello, 

 

I tried using custom event, but that option works only for the users who have license. When a user is just a customer he/she is not able to get notification, even if the notification scheme is set properly.

Kian Stack Mumo Systems
Community Champion
November 22, 2019

Sorry, I didn't realize that this was in reference to a Jira Service Desk customer. This solution won't work for those users.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events