I am receiving automated emails in Jira and creating automation rules to process - prioritize, close, etc. issues based on the email subject line and who sent it. Is it possible to identify the CC of an email to make an automation rule. For example, if an email address - firstname.lastname@example.org is CC's on email, close the issue? I have tried writing a rule for the Description and Summary and have not been successful.
I am using Jira Service Desk - cloud
I did some testing here, and I think it is possible to do this with automation, but it might be somewhat tricky to do. I will try to explain in more detail.
I started in my Jira Service Desk cloud project, and created an automation rule specific to that project. This was a custom rule type. In my rule I selected the trigger to be "Participant added to issue" and then set a condition to use the advanced JQL string of "Request paricipants"="email@example.com"
When doing this you can then set the action to be a transition. In my case I choose a transition called "Resolve the issue" which will resolve the issue.
My automation rule looks like this:
And I can confirm, when I then emailed back to the creation of a ticket, and added that specific email address as a CC to the message, Jira Service Desk did transition this issue into the correct transition as per this rule.
The reason this works is because Service Desk is automatically going to add users in the CC field of an email to the 'request participants' field of an issue, provided that user already has an account on this service desk, or the service desk is setup to create new accounts for such interactions. This is one way you could probably make this work.
Just understand that this would not only work for email processing, but it is possible if someone in the customer portal or the main Jira site adds that specific user to the requested participants it too would trigger this automation rule. It is not specifically geared only towards email processing of messages.
Does this help?
Hello Atlassian Community! I'm Tania, a Senior Product Marketing Manager for Jira Service Desk Cloud! I'm excited to announce some exciting improvements coming up for those who work with queues and...
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