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.
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
check out the following url - https://www.adaptavist.com/doco/display/SFJ/Automatically+deactivate+inactive+JIRA+users
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.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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