Details
-
Suggestion
-
Resolution: Unresolved
-
152
-
46
-
Description
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
Problem Definition
Currently , there's no way to filter issue using email domain . It can often be helpful to search for all issues reported by a reporting user's email domain, perhaps not so much w/AOL or gmail, but certainly with corporate domains. Please enable either the contains operator for reporter or add a function to get email domain from reporter or similar solution.
Suggested Solution
Provide a JQL query , for example :-
reporter in emaildomainOf("customer1.com") ...
Workaround
Workaround 1:
- Go to Jira settings > Issues > Custom fields > Add custom field;
- Click on 'All' and search for the field type Domain of reporter;
- Select this field type > give this field a name (let's call it reporterDomain);
- Confirm the field creation (this field doesn't need to be added to any screen);
- Use this field to search using JQL. Example:
reporterDomain = 'somedomain.com'
Workaround 2 (with Automation)
Taken from this post with thanks to its creator:
- Create a new custom field using Short text (plain text only) type and associate it with the service project. (I named mine "Reporter Domain")
- Create an automation rule to run When: Issue Created >>> Then: Edit issue fields and for my example provide the field name "Reporter Domain" and set the value to {{ reporter.emailaddress.substringafter("@") }}
- Turn the automation rule on and then any newly created issues should populate the field with the domain name of the reporter's email address.
- Filtering with JQL expressions can now be done on this field type with:
"Reporter Domain[Short text]"~'email_domain.com'
Attachments
Issue Links
- is duplicated by
-
JRACLOUD-74348 Domain of Reporter/Assignee type fields aren't available in the new issue view
- Gathering Interest
- is related to
-
JRASERVER-61425 Allow to Search By Domain Name For Reporter Field
- Gathering Interest
- relates to
-
AUTO-446 Allow Automation to get the value of field type "Domain of Reporter"
- Closed