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

How do I restrict the number of tickets a customer opens?


I want to see how I can restrict the number of tickets a client can open? My organization provides different pricing structures for clients based on the number of tickets they can open. Has anyone successfully implemented this within their Jira instance? I ideally want to provide an automation reminder to the client letting them know they have x number of tickets they have left to open and then stop them from opening up tickets once they reach their maximum allotment of tickets.

I greatly appreciate any assistance that is given!




2 answers

2 accepted

0 votes
Answer accepted

Hi @Nicholas Torres ,

on Jira Cloud, you won't be able to prevent customers from creating new requests - that would require a Workflow Validator on the Create transition, and Cloud validators are restricted to what Jira expressions support - and they don't support running a JQL search, which is what you'd need.

However, what you could do is use a JMWE Transition Issue(s) workflow post-function to automatically check if the customer has exceeded their maximum number of requests and transition the request to a "Rejected" status, while adding a public comment (which will send a response to the customer).

Hi @David Fischer _Appfire_ , thank you for your comment. I am going to check out JMWE to see how to use this to resolve the business problem we are trying to solve. Again, grateful for this community!



0 votes
Answer accepted

You can use an addon that allows you to validate when creating the number of tickets for that customer and if it exceeds the amount, return an error message.

Regarding the second, that same add-on I could have a postfuction when creating the ticket that I send you an email or a comment indicating the rest based on that same SQL.

Both functions can be achieved with JMWE or with Script runner.

Probably with the Jira Automation as well but it can be a bit more complicated

Hi @Juan Manuel Ibarra

Thank you for your response. Do you currently use an add-on to do something like this? Is it JMWE that you use? I tried with Jira Automation but as you said, it is not as intuitive as I thought. I look forward to hearing from you!



The two add-ons JMWE and Script runner for Jira are just as powerful and will allow you to do just that.

JMWE is a bit easier to use because it is not 100% code.

You can download the trial version and implement the solution, if it works as you expect you can definitely buy it.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,616 views 20 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