Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,134
Community Members
 
Community Events
176
Community Groups

Find issue by JQL for incoming email

Hi.

I try to get the e-mail handler to find the IssueKey in the body of incoming e-mails, as several external parties who send us e-mails use a subject splitter that removes some "unknown" references, this affects our comment functionality and several replies end up as new tickets.

I have come to the conclusion that I am doing something wrong and am trying to check here to see if anyone has any good advice or guidance!

Email field are set to be "Body"

Regular Expression should be "ABC-.*" (?)

But I'm getting nowhere when it comes to "Issue matches (JQL):"

Is there anyone who have already setup this or could point me in the right directrion?

Any help is greatly appreciated!

1 answer

1 accepted

Solved it! 

Email field: Body

Regular Expression: ABC-\d+
(Will match anything with email body starting with ABC- and any following digits) 

Issue matches (JQL): issueKey = $!group0
(Use variables as a reference to the capture group values: $!group0 (matches the whole expression), $!group1 (matches the first capture group), etc. Variables are populated with a value if capture groups exist in your regexp)

image.png

Brant Schroeder Community Leader Dec 12, 2022

Can you share the resolution to help others?

Like Joachim Kjølby Due likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.0
TAGS

Atlassian Community Events