The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide sub-tasks for certain people using scriptrunner?

Yousuf Al Rawahi
Contributor
April 1, 2024

How to hide sub-tasks for certain people using scriptrunner?

For example,

Name of the sub-task: Line Manager Tasks

User: Yousif Al Rawahi

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Oday Rafeh
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 Champions.
April 2, 2024

Hi @Yousuf 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

 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events