Forums

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

How to get the notifications whenever an Approver is selected

kanaka prasad ponnuru
Contributor
November 24, 2021

Hi Team,

When an user selects one or more Approver names from pick list, they get notified by system that their approval is required for particular issue and when he approves it can be moved to next state.

  • Can someone help me how to get this requirement. If it is through automation can I have steps please?

Regards,

Kanaka.

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
November 25, 2021

Idea 1

As a trigger, you should use "Issue Updated" and configure this to capture the changes of the "Approver" field. (You may need to use "Issue Created" if the approver is also set at creation time.)

As action, you should use the "Send email" action, obviously.

Idea 2

An alternative way of triggering would be periodically running a JQL like:

status = "Waiting for approval" and "Approver" is not empty

... then email the resulted list. 

I think "Idea 1" is better, but if you have a large number of issues going through these approvals, then "Idea 2" may also worth a consideration.

kanaka prasad ponnuru
Contributor
November 25, 2021

Hi Aron,

Thanks for your prompt response!

So you are suggesting that I should use a trigger in a create screen right. If that is the case I am unable to add trigger on the create transition.

Could you please illustrate the procedure?

Regards,

Kanaka.

kanaka prasad ponnuru
Contributor
November 26, 2021

I just tried different approach to this requirement.

I created one custom event with issue create and added this custom event to notification scheme which is associated to the project and after that at the create transition I have added post function with fire event but still I am unable to get the notifications when the approver is being selected.

Is this approach is correct or correct me if I am missing anything.

Regards,

Kanaka

Aron Gombas _Midori_
Community Champion
November 26, 2021

When you look at the execution log of the automation rule, what's there?

In other words, is your rule started at all?

Suggest an answer

Log in or Sign up to answer