Is it possible to block ticket creation in an Agile board between certain times?

Our Design team is starting to work via sprints and they'd like to block ticket creation after 12 on a given day. Presently other departments are able to create tickets constantly, they want to add this 'deadline' of ticket creation to enforce tickets being created in time for their sprints.

I would be very appreciative of any help on how to implement this, if possible.

Kind Regards,
David 

1 answer

1 accepted

Hey David,

The permission needed to be able to create tickets in a project is controlled by the Permission - "Create Issue" in your Permission scheme.

What you could do is to grant this permission to a new Role in your project and then either update the Role manually or update this role via the JIRA REST API through a scheduled job or similar. If the blocking is something you need to do on a sprint basis only (i.e. every second week or something) you could probably survive doing this manually. If it is a frequently recurring thingy you can create a script and update it via REST.

Something like this:

  1. Create a new global Role called Creators
  2. In your Project, populate this new Role with the users/groups that shall be able to create tickets. Preferably groups since you are going to update this role several times 
  3. Update your Permission Scheme to use this new Role for the permission "Create Issue". (NOTE: You may want to create a new Permission Scheme for this project if the one used is shared with other projects)
  4. When you want to block creation of tickets you just remove the groups from the role in your project. Add the group(s) again when you open up for ticket creation.

To automate this (or do it programmatically) create a script using the REST endpoint /rest/api/2/project/{projectIdOrKey}/role/{id} (https://docs.atlassian.com/jira/REST/6.4.1/#d2e2589)

Hope this helped!

// Svante

Thank you kindly Svante!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,175 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot