I created some projects (Kanban), and i need to block edit Due Date by users.Only edit by managers.Users need to fill in the field on the task opening form, but should not edit it after opening it.
Can someone help me?
Hi @Rodrigo ,
If you have ScriptRunner, you could set up a behavior for that. If not:
You will need to keep the Due date field on the Issue Create screen, but remove it from the Edit Issue screen.
That prevents any user from editing the Due date field.
Next you need to enable managers to edit the field. You can do this with the workflowin combination with a screen.
First you create a simple screen with only the Due date on it.
Then you edit the workflow and create a transition from Any status to Itself. This is a special transition that doesn't actually change the status. You associate your new screen to it. And then you set a condition that checks if the user is part of the manager role.
Hope that makes sense!
It's works. Thanks!
Hi @Rik de Valk _Brainboss_ , I have similar issue here, I want to protect DueDate field from editing. The field should be visible on Create Issue Screen, but it shouldn't be available for editing once the ticket is created. For my case, no one should be able to edit DueDate after ticket is created.
Could you, please, help me and be more specific on how to do it here:
because I cannot find Edit issue screen. Thank you in advance.
Please ignore, I found it and it's done now. Thank you for suggestion.
Hi @Rik de Valk - We are using Team based project, when we use Script Runner Behaviour and under projects it shows only Company Based Project. It won't support for Team based project?
Also @Sinisa Glusac if you can share the idea which made it work, will be much helpful. Thanks.
It looks like you're new here. Sign in or register to get started.