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

Deleted user June 16, 2015

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

0 votes
Answer accepted
Svante Gustafsson Björkegren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2015

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

Deleted user June 17, 2015

Thank you kindly Svante!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events