Requirement: -
1) As soon as a Sprint ends and no Sprint is in Progress state, all or selected members of Team needs to Grant "Spint:" field value edititing permission.
2) As soon as a Sprint starts, this permission from all "Developers" role users needs to be revoked and will be with only "Scrum Master" and "Administrator" role users.
Looking for some script or other option by which both of above tasks can be automated.
Why this is required: -
As per requirement, only "Scrum Master" role member can change "Sprint:" field value. This is to avoid change in between Sprint. And so, "Developer" role members are not having permission to change "Sprint:" field value.
But, when a Sprint ends and new Sprint is about to start, then all members need to create their JIRAs for upcoming sprint and only "Scrum Master" can assign "Sprint:" for these JIRAs.
So, to avoid this dependency and to maintain the control also, looking for option either by scriptint or some other way by which can schedule this permission Grand and Revoke automatically.