Forums

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

Can you restrict a User to view Story but not its sub-tasks?

Ketevan August 11, 2020

Hello everyone,

I want to give access to clients on my Jira to see user stories' statuses and descriptions. But I don't want to let them see sub-tasks. How can I solve this problem?

Thank you

2 answers

1 accepted

2 votes
Answer accepted
Sachin
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 Leaders.
August 12, 2020

Here are the steps which will help you hide sub-tasks from specific groups. You need Jira Admin permissions to perform below steps, also please make sure you have Set Issue Security permissions granted

  1. Goto --> Settings --> Issues --> Custom fields
  2. Add a custom field of type "Group Picker (multiple groups)" and associate it to the required screens and also configure it to apply for the sub-task issue type. Also scope this custom field for selected projects of your choice.
  3. Add another custom field of type "Group Picker (multiple groups)" and associate it to the required screens and also configure it to apply for other issuetypes. Also scope this custom field for selected projects of your choice.
    customfields.png
  4. Goto --> Issue Security Schemes, add an issue security scheme
  5. Goto security levels of the above created security scheme and select "Group Custom field Value" then choose the two group picker custom fields you created.
    Screenshot_2.png
  6. Now goto your project --> project settings --> Issue Security --> Actions --> Add above issue security scheme to your project
  7. Now create a story and assign issue security level to the issue and choose the group let's say jira-users for "Group Access - Standard" custom field
    Screenshot_6.png
  8. Now create a sub-task under that issue and add groups you would like to view that issue for "Group Access - Subtask" custom field
    Screenshot_7.png
  9. So, for every issue you create that has a sub-task you will need to assign it to the security level (you can make your security level default, so that everytime you create an issue it will have a security level assigned by default)

Best,
Sachin.

Ketevan August 17, 2020

Thanks, It works.

But there is one detail: user can't see sub-task inner page but can see sub-task list under story. Can I change it?

1 vote
John Funk
Community Champion
August 11, 2020

Hi Ketevan - Welcome to the Atlassian Community!

You would be able to accomplish that with Issue Level Security.

Ketevan August 11, 2020

Thanks for the feedback John. 
I set the Issue Level Security but  users can see stories with sub-tasks :(
Can you tell me more details ?

John Funk
Community Champion
August 11, 2020

Actually it will not let you place a different Security Level on the Sub-task from the parent.

You could try adding another custom picker value field to the screen and use the value in that to help narrow it down. As a part of my Issue Security I only let the user see some issues that have their name on the card.  

Like Ketevan likes this
Ketevan August 11, 2020

Okay, I'll try.

Thanks a lot.

Imakhara_099
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2020

@John Funk   As I know , security level is inherited from parent issue to child issue. It means if I apply security level on parent it will work automatically  on sub-task.

whats happens  if user  story will have custom picker field with specific users  and  its child issue will not have the same users in this filed? Will user see only user story?

Like Ketevan likes this
John Funk
Community Champion
August 12, 2020

No, they should not if their name is not in the field on the parent. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events