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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

724 views 3 11
Read article

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