How to send notification for a transition made by specific user to a project role

Roi Angress
Contributor
June 15, 2020

Hi,

I want to create a notification scheme that will allow my team leader to receive notifications when a team member submits his task to "Code Review" status (Submit to Code Review transition).

For Example:

In all projects, Project role: "Team leader A" should receive a notification (inside Jira) each time developer in team "A" moves a task to "Code Review" status.

I'll be grateful for any help on this issue,

Thanks!

2 answers

0 votes
Zoryana Bohutska _SaaSJet_
Atlassian Partner
June 15, 2020

Have you tried Automation for Jira ?

Roi Angress
Contributor
June 16, 2020

Actually I did try. 

The automation rule I created looks OK but nothing really happens when it comes to reality. 

Here is the automation I've created:

jira.PNG

But when I create an issue, assign it to the developer and move the issue from "In development" to "Code Review", No email is sent, nor any notification is received. 

Derek Fields _RightStar_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 16, 2020

Have you checked the Automation Audit log to see whether the rule was executed? If it is not executing, then you have to figure out why not. If it is executing but no email is sent, then you have a different problem to look at.

I will often put the "Log Action" action into my rule so that I can see something in the log that helps me to debug what is going on.

Roi Angress
Contributor
June 16, 2020

Hi Derek,

Yes, I  checked the Audit log. The rule was not executed at all.

Roi Angress
Contributor
June 16, 2020

I tried to test where the automation fails, so I made some tests,

Here are the results:

1. Passed successfully.

When: issue moved from Selected For Dev (to do type status) to In Development (in progress type status)

Then: assign the issue to the user who triggered  the automation

2. Was not executed.

When: issue moved from In Development (in progress type status) to Code Review (in progress type status)

Then: assign the issue to the user who triggered  the automation

3. Was not executed.

When: issue moved to Code Review (no matter from which status)

Then: assign the issue to the user who triggered  the automation

4. Was not executed.

When: issue moved from In Development (no matter to which status)

Then: assign the issue to the user who triggered  the automation

Derek Fields _RightStar_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 16, 2020

In that case, you need to figure out why the rule isn't being executed at all. Obvious things to check are that it is enabled and that it is set on the project. Not sure how much else I can tell you without getting in and looking

0 votes
Derek Fields _RightStar_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2020

Are there multiple Team Leader roles or does each project have a Team Leader role and a person in who is the Team Leader? How do you know which team the developer belongs to? 

Roi Angress
Contributor
June 15, 2020

There is one team leader (user and role) for all projects. the team is all the same for all projects.

Derek Fields _RightStar_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2020

In that case, you can create a new Event called "Moved to Code Review". You would set the notification for this event so that it notifies the Project Role "Team Lead". Raise that event on the "Submit to Code Review" transition. 

Suggest an answer

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

Atlassian Community Events