Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 use JQL (or another mechanism) to assign request to a queue based on content of email header?

I would like to assign a request to a queue based on the nickname the request was emailed to, contained in the header of the original email.

A customer emails a request to the nickname assigned to the service desk email address so email sent to the nickname is delivered to the service desk email address' inbox. The header of the email contains the nickname in the to: field of the header.

Is there a way to use JQL (or some other tool) to search the header of the incoming email for the value in the to: field and if the nickname is found assign the issue to the appropriate queue?

JIRA Service Desk 4.13.1

Thanks,
Jeff

2 answers

1 accepted

0 votes
Answer accepted

I'm going to use the Mail flow rules in Exchange to prepend some text to the subject of the email if the email is sent to the nickname.

Exchange can examine the header and find the to: address and the rule will prepend text to the subject. Then I'll use JQL to look for that text in the incoming email and assign it to a queue.

0 votes
Jack Community Leader Mar 30, 2021

Hi Jeff, i'm not sure I am following. Queues in JSM belong to a specific project and each project has a specific email address for handling request by email so unsure what you mean by nickname here. In any event Queues are defined (display issues) based upon an underlying JQL so you would need to somehow get this nickname into a custom field that could be used w/in your filter. Maybe if you could get this nickname into the body of the email you could then use automation, scriptrunner, etc. to post-process and capture into a custom field.

Hi Jack,

In a Microsoft Exchange context, a nickname is another email address assigned to an existing email account. For example, jira-service-desk@mydomain.com, the service desk email account, can have a nickname (alias) assigned to it, say customer-service@mydomain.com. Email sent to customer-service@mydomain.com will be directed to jira-service-desk@mydomain.com's inbox and the email's header will include to:customer-service@mydomain.com in it.

What I'd like to do is add any email request sent to customer-service@mydomain.com to be added to another queue within the project. I'm looking for a way to differentiate requests sent to one email address based on the contents of the to: field in an email header.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.13.1
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

339 views 19 20
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