Forums

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

Jira Service desk queue by reporter email

silver_suld December 4, 2018

Hello!

 

Does anyone know, how can I create Jira SD queue based on reporters email domain? 
Like users with *@test.com are in one queue and *@test.net are in another?

 

BR, 
Silver

6 answers

2 accepted

1 vote
Answer accepted
Olga Videc
Community Champion
December 4, 2018

Hello @silver_suld

To filter based on a mail domain you need script runner, because of his function.

Do this go to your normal issue search go to advanced 

tissue function in issueFieldMatch("project !=xx ", "Request participants", "@emaildomain")

Also try collapse free ad on for JSD, you can use JQL to filter to edit add ques.

the first part doesn't have to project = something, it can be anything from JQL, the catch is that this function requires two parameters.

0 votes
Answer accepted
Alexey Matveev
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.
December 4, 2018

Hello,

You could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could use the following JQL expression for your queue

key in silJQLExpression('matchEnd(getUser(reporter).email,"@admin.com") > 0', '')
1 vote
Jack Brickey
Community Champion
December 4, 2018

Often when using the Organization feature all customers within an Organization are of the same domain. In this case you can create a queues based upon Organizations.

0 votes
silver_suld December 6, 2018

Thank you for the answers, I got mine. 

0 votes
Tom Lister
Community Champion
December 4, 2018

Hi @silver_suld

the way I have solved a similar issue is the use scriptrunner scripted fields to parse custom fields to support reporting

e.g convert a date picker to a string format and use in two dimensional reports in dashboard.

0 votes
Johan Soetens _Dumblefy_
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.
December 4, 2018

The Reporter field is of type USER which will not support text searching.

Jira Advanced Searching

silver_suld December 4, 2018

Any other field then or this is not possible at all?

Johan Soetens _Dumblefy_
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.
December 4, 2018

I don't know of an out-of-the-box solution but there's a feature request you might vote on.

SDSERVER-4417

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events