Is there any way to search for a certain email address domain?

Hi,

Is there any way to search for a certain email address domain?

E.g. assignee ~ "@domain.com" or reporter ~ "@domain.com"

Can anyone advise?

3 answers

1 accepted

2 votes

No this is not possible. Since the email address is not a value within the issues them selfs, or a field, but rather related to a user, you can not use it for issues queries, unless the username and email address are the same.

Alright thanks. Would have been nice to be able to do this?

Absolutely. This question was asked back in 2013, do we have any update for it today? (I need to search for issues assigned to people with email addresses containing "@domain."

Thanks!

Warren, in addition Mick's answer, the assignee and reporter fields do not support the 'contains:~' operator, as they're not free text fields.

You might want to try creating a custom free text field to be filled with the email addresses of the issue participants, and that would be searchable.

Hope it helps.

Thanks Jeison, I knew the assignee and reporter fields do not support the 'contains:~' operator, I was just using it as and example, hence the "E.g". None the less, thank you for your help.

1 votes
Renjith Pillai Community Champion Jul 06, 2013

Add a scripted field (and call it any name) (https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner) and add this code:

return issue.reporter.emailAddress.split("@")[1];

Then search using this new field.

Hi Renjith,

Once I add this field, in the search do I search for the domain after @, so excluding the "@"?

Thanks, Will give this a try.

Where and how do I search once i've created this scripted field?

Can you comment @Renjith?

Renjith Pillai Community Champion Jul 07, 2013

Normal issue navigator search.

I am guessing you have selected text searcher while configuring the scripted field.

I selected text searcher yes, But when i make an issue navigator search:

"Email Domain searcher" ~ "@domain.com"

I get no results back?

"Email Domain searcher" ~ "domain.com" is the correct way to search

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,826 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot