How to hide sub-tasks for certain people using scriptrunner?
For example,
Name of the sub-task: Line Manager Tasks
User: Yousif Al Rawahi
Hi @Yousif Al Rawahi ,
ScriptRunner doesn't offer direct sub-task hiding based on users, but there are two approaches you can consider using ScriptRunner behaviors in Jira:
Create a ScriptRunner behavior that restricts visibility of sub-tasks with specific names (e.g., “Line Manager Tasks”)
And
Create a custom field (e.g., “Visible to Line Managers”) on sub-tasks.
Use a ScriptRunner behavior to populate this field with “Yes” only for sub-tasks named “Line Manager Tasks.”
Configure your Jira screens to hide the “Visible to Line Managers” field for everyone except the Line Manager group.
If you need more help writing the scripts ;et me know.
Regards
Oday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.