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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Can i restrict a user's login(people in a certain group) for a particular duration in every month

I want to restrict user's from creating issue during a particular duration for eg.,from 25th to 5th issues should not be created. Rest of the user's should be able to access it.

2 answers

If you have any automation plugin like script runner, you can add a validator inside the work flow where you can create a groovy script to check if dates are the required dates, don't allow to create the issue.

I have used scriptrunner and i am able to delete the issues for that particular dates but is there any way so that user cannot login to the system itself

Why to stop login? you can stop them creating issues in a specific duration. Its simple, Inside the workflow on create transition, add validator , verify the dates , the group or project roles you don't let them to create issues. 


Now they will not be able to create issues withing a specific time period 

Sure... I will try this...thank you

Hi Sneha


check out the following url -


You could use something along the lines of this, but you will have to obviously do it via a date range and pass through the users you want to deactivate. 


I would the run it on the Jira Scheduled Tasks OR run it as a one time execution on the script console.


Good luck!



Thank you!! 

You're welcome,.

up-votes, resolutions and likes are greatly appreciated!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
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