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
Community moderators have prevented the ability to post new answers.
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:
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.