Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way in JQL to extract the domain part?

Arnis Riškovs
Contributor
May 13, 2025

Hi,

Is there a way in JQL to extract the domain part (which follows the "@" symbol) from a Reporter email address? If so, what is it?

2 answers

1 accepted

3 votes
Answer accepted
Sebastian Krzewiński
Community Champion
May 13, 2025

Hi @Arnis Riškovs 

 

Unfortunately, JQL like that don't exist.

IMO what you can do is to create automation rule that will catch reporter email address and cut domain part by some text operations (https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/) and store it in other field. Rule can be triggered when ticket is created.

 

Regards,

Seba

Barnali Putatunda
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2025

Hi @Arnis Riškovs ,
You may use automation rule in Jira to extract the domain of the reporter.

You could make use of substringAfter method of Automation Smartvalues

{{issue.reporter.emailAddress.substringAfter(„@„)


Good luck!
Barnali
 

Like # people like this
Arnis Riškovs
Contributor
May 15, 2025

Thanks!
It works

1 vote
Lucas Modzelewski _Lumo_
Atlassian Partner
May 13, 2025

Check if Organizations might be what you’re looking for:

https://support.atlassian.com/jira-service-management-cloud/docs/use-email-domains-to-automatically-group-customers-into-organizations/

Once you set that up, you can use JQL filters based on organizations or customer details to segment and manage your queues more effectively:

https://support.atlassian.com/jira-service-management-cloud/docs/create-queues-based-on-customer-details/#Customer-JQL-functions

 

Arnis Riškovs
Contributor
May 13, 2025

Instead of organization, we use special custom field due to specific circumstances.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events