I have Jira setup so that each of the platforms (windows, mac, Android, iOS) have their own components within the same project. I would like to trgger emails to QA, Dev's and the Scrum masters when tasks are transitioned based only on the component so that they dont end up getting emails from components not relevant to them.
Can I do this with post function and how ?
You can do this by using the post function. In your work flow post function file, implement your code and configure with your workflow UI.
Use :
MailServerManager mailsrvmngr = componentAccessor.getMailServerManager();
SMTPMailServer mailserver = mailsrvmngr.getDefaultSMTPMailServer();
Email email = new Email("xxxxxxxx@x.xxx");
email.setBody(body);
email.setSubject(xxxxx);
email.setTo(xxx); // Mention the group peoples
mailserver.send(email);
I will try out the above and see how it works. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhushan, let me outline what I need.
I have 3 development teams and 3 QA teams. lets call them dev A, dev B, and dev C. I also have Qa A, Qa B and Qa C.
When Dev A switches a task as being ready for Qa A, I only want to notify Qa A and no one else. How can I do this. Do I need to create separate workflows for each team ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ruban,
One way to do this is to write your own listener to look for the component changed and fire an email accordingly.
Do you have to create separate workflows? Not necessarily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruban,
Add a custom event
https://confluence.atlassian.com/display/JIRA/Adding+a+custom+event
And then set notification scheme as per your preference for that event
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.