I have Jira onDemand. I have several Departments. All departments are a Project in Jira. All employees creates issue via email handler.
When an issue is closed by the IT team I want to send a notification to the manager of the appropiate department. These managers are NOT project leads and in general not using Jira for monitoring or anything. It just needs to be a notification.
Is this possible?
- Where do I set the correct manager per Department? As a new Role perhaps?
- Should it then be triggered by a Custom Event in the flow?
Thank you so much!
Are you running it through the test? If so check that you haven't disabled notifications to yourself in your profile. I set that up as the default on new installs as most people don't want notifications for actions they take
It has to be something in the custom flow. I Made a new project, copied the email settings and used the default jira flow. Then it works. So the flow is just the issue.
Problem is, I don't know where to look. The Notification Helper says it works. It works on another project, so it's not turned off by default. I also set an event for emailing a single emailaddress when the issue is closed (to my old email hotmail for testing) which also does not work.
My shot is, the email must be triggered when the issue is closed (as the notification helper checks) but it never closes! In my flow it says:
- step name: Closed
- linked status: Closed
There are not Operations on it.
Got it working. I removed the step 'Closed' (which I think I added myself) and set the Default Jira 'Closed'. Published this new flow and BAM! All works like a charm.
Now I will copy this flow and rename it per Department, add the corresponding managers and set them in the roles. Should be good!
Thank you so much!
Ai, I was too quick with thinking I had it working. Well, it does work, but I forgot 1 important part.
I'll try to explain. I have several divisions on my website (IT, TV, .) Withing these divisions there are subcategories. For IT that is for example, Printer, Laptop, Notebook, Monitor, SSD, HDD. All these subcategories have their own manager.
When an issue is created, the Division is set by Project. The component is used for the subcategory.
Is it possible to send to a user (group) a notification based on Component?
One more question.. I have a custom Flow build from scratch. Int his flow I have a status like 'In Archive'. Why does this step net appear in the 'Events' list in the Notification Scheme?
For every step in the Flow I want to send a group or Component Lead an email. But a lot of steps do show in the list. Why is this and can it be fixed?
Well, you won't see steps in the notification scheme but events triggered in those transitions.
You need to look at the post function in those transitions. I bet you will see there a generic event triggered. You can raise any other event there instead, even own defined events. Adjust your notification scheme according to the events triggered in your post functions
Yes, I would use a role and set only the department manager in each project to this role.
As for the notification, you need only to add this role in your notification scheme for the closed issue event (if this event is triggered in your closed transition).
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG