It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I send a notification to a group of users in a custom field?

Justin Corcoran Jul 19, 2012

I'm trying to implement an approval process in JIRA. Right now, I'm going with a multi-user picker custom field, where I'll record the names of everyone approving the issue. What I'd like is to have an email sent from JIRA to the users that are mentioned in the custom field. I've set up the "approved by" field to show on a transition screen when the item transitions to "approved," so I have a transition that I can add a "fire generic event" step to. However, I don't know how to say "fire an event that notifies only the people in this custom field".

Any ideas how I can have people added to a custom field get notified to that effect? Add them as watchers? I'm looking for something similar to what happens when you @mention someone in a comment.

6 answers

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Go2Group] Community Leader Jul 19, 2012

You will have to create a new event and fire that event in the workflow transition instead of Generic Event.

You can then include that custom field in the notifications for the new event.

Justin Corcoran Jul 19, 2012

Perfect, thanks so much!

0 votes
Paul Roorda Jul 22, 2012

"I'm trying to implement an approval process in JIRA. Right now, I'm going with a multi-user picker custom field, where I'll record the names of everyone approving the issue." --> I'm trying to exactly accomplish this, but cannot figure this out... Would you mind sharing on how you did this?
I would be so greatful!

0 votes
Justin Corcoran Jul 22, 2012

When you add a new custom field, one of the options is "multi user picker". I just added that to a screen (I call it the "approve" screen) and then added that screen to the workflow transition where the issue gets marked approved. Thus, when you move the issue, you're prompted to enter the names of the people approving it. I also implemented the notification as described above (thanks to Jobin's help below) so that everyone who is recorded as approving the issue gets an email.

Does that help?

0 votes
Paul Roorda Jul 22, 2012

A little it does... I was hoping you had it automated (so no user interaction is needed), where Jira looks who did approvals and filled in that field... That's really what I'm after -> to send a notification to approvers when the issue is Resolved.
However, till that time, your solution might actually be a temp. work-around.
Thank you so much for taking time to respond and explain!

0 votes
Justin Corcoran Jul 22, 2012

I'm not sure what you mean by "Jira looks who did approvals and filled in that field", where would JIRA be looking for that information? Are you recording somewhere else in JIRA who approves the issue, and you just want that information moved to a new custom field?

0 votes
Paul Roorda Jul 23, 2012

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.

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 guess that Jira indeed "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.

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.

I hope this made it a little more clear?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Here’s what we’re doing to make Jira Cloud faster

Hello Community 🤗 I’m Nikhil, a Product Manager on the Jira Cloud team working on performance improvements. Performance is an ongoing journey and we continue to invest heavily in it. We under...

132 views 1 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you