Log approvers to create/send notifcation event

In the worflow, we have the 'field' Approved.
Issues need to be approved by an assignee, before they can be assigned to someone who starts the work on that isse.

I have a modified notification + worflow scheme that does not send an email on every update of the issue, just on a few updates like: Approved, Assignee Changed, Resolved.

Looking at the History of a Ticket, you'll see:

"Name" made changes - "date/time"
Status Open [ 1 ] Approved [ 10001]

when the issue has been approved (where Name is the approver).
(So I'm guessing) that Jira "logs" this info)

I'm trying to use these names/users (we have 2 approval fields in the workflow), so I can run an event on the listener in the workflow, to have Jira mail these Approvers that a ticket has been closed.
Of cos, I liek to have this done, where no user intervention is needed.

Anyone a suggestion on how I can accomplish this?

1 answer

Those names are stored in custom fields I guess? If so, just read then using issue.getCustomFieldValue and then use it.

I know how to add the listener + event to put it in the workflow, so when a step in the isse is reached, the email will be send.
Whatt I'm after, is: How do I get those names of those approvers, so I can use this there?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,803 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot