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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

137 views 1 3
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