Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Pending approvers in automation

Hi! I am using Email notifications to remind customers about their pending approvals. 
And I want to log users who will receive emails about pending approval. 
There is "Pending approvers" value in the send email block. Maybe somebody knows how I can log for example emails or names of these users with 'Audit log".


Screenshot_2.png

3 answers

0 votes
Brent Nye
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 20, 2023

Older post, but maybe this will help someone. One of our workflows has mutliple approvals configured and uses multiple "approvers" fields. I used Automation for Jira to build a simple rule which is triggered upon status change. The rule checks the Status field and sets a "Pending Approver" custom field (user picker) to the value of the approvers field associated with the current workflow approval. So "Pending Approver" always shows which approver(s) the issue is waiting on. I can display that value in dashboards, queues, etc.

I've been working with approvals quite a bit lately, so I have been having to explore the "Approvals" field quite a bit.

I had a similar use case where I needed to add whoever actioned an approval to the "request participants" field.

 

That said, the smart value you're looking for is something like this;

{{customfield_10205.first.approvers.approver.displayname}}

Where "customfield_10205" is the custom field ID of your instance's "Approvals" field.

 

Note: the ".first" section of that smart value, is only needed if your issue has more than one status where approval is required, or if the issue is reset in some way to have the approvals re-done.

It is not what I need. I need exactly guys who are not approve yet not one of the approvers. Thx for response. 

0 votes
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 17, 2021

Hi @Andrey Boyarin

I'm afraid that you won't be able to get the exact list of pending approvers out, however you might be able to log out the Approvers field and then that will hopefully include the state so that you can see which approvers are in pending.

Cheers,

Simeon.

@SimmoI don't need to log all approvers. I want to log only those who will receive a notification (pending approvers). In my workflow, all approvals need that ticket passed to work in progress status. So if there is only one approval but needs 2 approvals, the ticket will stay in waiting for approval. 

Maybe there is another way to do it. I need the same thing as in notification automation section

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 18, 2021

I'm afraid that the logic that we use in the Email action, "Pending approvers", isn't available as a smart value.

The closest you can get is to log out all the approvers and look at their status.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events