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

Assign to specific user if Issue Key ends with even numbers alone


I have list of tickets like below


ARTPSD-34205, ... etc..

I would like to assign to specific user when the ticket is resolved. So i'm using Automation for JIRA plugin to do this. It's quite simple so i did it.

But the requirement is - ONLY issue key ends with even number should assign to specific user.

Ex. ARTPSD-34204, ARTPSD-34206, ARTPSD-34208 , etc...

I have tried few things, i couldn't achieve it.

Key Ends with Even.PNG

Appreciate your kind help.


1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Dec 13, 2019

Hi Kaviraj,

I see that you're using the automation for Jira plugin in order to automatically assign even numbered issues in this project to a particular user.  Your regex query is close, but I can see why this is not working.  Trying using a regular expression of


This will match all issues in that project that end with an even issuekey number.   I tested this out in my Jira Server environment and it appears to work as desired.  For background, I like to use a site called in order to help me build my regular expressions.  It has a helpful interface so you can see which lines in the text block below will be matched so that you can create your query to match appropriately. 



Dear @Andy Heinzer 

Thanks for your response, your regular expression is working fine for me.

Although, i have checked the below expression 


its working fine too. but i think this wouldn't work for more/less than 5 digit like



Anyhow, i will use your logic.


Thanks buddy :) 

Suggest an answer

Log in or Sign up to answer

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