Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Restrict the creation of tickets of your Jira Service desk Cloud by Domain

Hello Community!

During the time I've been supporting Jira Service Desk Cloud, one of the most requested functionalities I saw in Cloud is the ability to restrict the customer portal or the creation of tickets to customers with a specific domain, not allowing any other customers with undesired/unknown domains to do it.

In fact, we have some feature requests to implement this option with a considering amount of votes and watchers:

Include Domain Level Restrictions for Service Desk Public Signup 

User(s)/Group(s)/Roles security on creating certain "Request Types" 

Unfortunately, there are only two options to restrict the customer portal in Jira Service Desk Cloud today:

  1. Allow only the customers manually added to Service desk projects to access the portal
  2. Allow Anyone to self sign-up in your Jira portal, as long as they have the link of your site

We understand now that the options above sometimes might not fulfill the needs you've initially planned for your Help desk, even being a deal-breaker to some of our customers.


So what is this article about?

Since we still don't have a default way to properly restrict the customer portal by domain, this article provides a quick step-by-step to "block" the creation of issues/tickets from users with undesired domains.

Now, you might be asking yourselves: Why did I add "quotes" in the block word? :)

Basically, this workaround consists in:

  1. Identify the domain of the ticket reporter/creator
  2. Check if the domain is the one you expect
  3. Automatically close the ticket If the customer account uses an unknown/undesired domain, informing the user that no work was done because his account is not allowed to create tickets in the portal and avoiding the ticket from appearing in your queues.


Going to the practical steps: How can I allow only specific domains to create valid tickets in my customer portal?

  1. Configure your Jira Service desk to allow any customer to self sign-up, by selecting the option in the Global permissions under Jira Settings > Products > Service desk configuration:
    Screen Shot 2020-04-16 at 18.05.04.png
  2. Also, configure your customer permission under project settings > Customer permissions to allow anyone to create tickets:
    Screen Shot 2020-04-16 at 18.08.05.png
  3. Create a new custom field of the type "Domain of Reporter" and add it to your project screens. This field is automatically filled with the domain of the issue reporter as soon as it gets added to the issue screen.
    P.S: This field is not displayed in the new issue view, however, the workaround still works on it.
  4. Under project settings > Project Automation, create an Automation Rule to automatically closes the ticket if the Field "Domain of reporter" is not added with the domain(s) allowed, just like the one below:

    Screen Shot 2020-04-16 at 18.15.35.png
  5. Configure the JQL in the queues used by your team to only display the issues created with the expected domains:
    "Domain of reporter" in ("", "")


Troubleshooting any problems: 

  1. Make sure your workflow is properly configured with a transition that allows the closure of the issue directly from the initial status.
  2. Make sure you have configured the comment of the automation rule to be added as public, so the customers can see and receive notifications about it:
    Screen Shot 2020-04-16 at 18.21.11.png
  3. Double-check if the JQL in the automation rule correctly configured
  4. Make sure the automation rule actor has the project permissions to transition, resolve and comment on issues.

Additional to that, I would like to make it clear that these steps only give the option to not consider issues created by undesired domains, however, it will not prevent users from sign-up in your Service desk. It's a temporary workaround while we don't have a supported feature.

Please, feel free to add any thoughts or suggestions you might have in the comments section of the article.


This workaround is not good enough - while ticket creation can be blocked, the unwanted visitors could still have access to the portal and the (potentially) confidential materials of the knowledge base. Atlassian should really implement the feature that has been on the requested feature list for 6 years now.

Like # people like this

Hello @Pavel Kupriyanov

Thank you for your feedback.

I just would like to clarify that the intention of this article is not meant to decrease the priority or avoid the implementation of the requested features, but to only provide a workaround that may work for some customers while our PMs are still working to implement those feature requests.

I completely understand your point that this is not a useful workaround for your case as you have confidential information in the Knowledge base of your site, but perhaps this can be a temporary solution for other customers using Jira. Again, this is not meant to justify any lack, but to give a possible solution with the current Jira environment.

Best Regards,

Petter Gonçalves - Community Support


Log in or Sign up to
This widget could not be displayed.
Community showcase
Published in Jira Service Management

Announcing: Incident Responders and Linked Alerts in Jira Service Management

THESE FEATURES ARE NOW AVAILABLE FOR ALL CUSTOMERS --- Hello Atlassian Community! Today, we’re excited to announce the rollout of two new incident management features in Jira Service Managem...

1,000 views 8 12
Read article

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