Forums

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

Insights: Restrict object visibility within an object type based on attributes?

Florian Nawrath
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!
March 4, 2022

Hello,

We currently experiment with an object sheme (JSON import) using two object types A and B. As far as I understand it is possible to restrict user access and visibility based on the object type.  We would like to further restrict the visibility within the object types based on attributes. The background here is that we would like to refrain from using multiple object types.
E.g. Object type A has the attribute "test" with multiple possible values such as "foo" and "bar". So users being part of group X can only see the objects with "foo" and users of group Y can only see all objects with "bar". 

Is there any possibility to realize this without having to split the object types into multiple ones via IQL and set the permissions there? Depending on the amount of values for the attribute "test" we would have to create many different object types or multiple custom fields with respective IQL restrictions. So to summarize we would like some form of dynamic permissions within an object type based on groups/projects.

Kind Regards,
Florian

1 answer

1 accepted

3 votes
Answer accepted
Hana Kučerová
Community Champion
March 4, 2022

Hi @Florian Nawrath ,

welcome to the Atlassian Community!

Unfortunately I believe the only possiblity is to split the object types as you've described.

 

It is possible to use a “hidden” property on the attributes, which allows you to hide attribute from the Insight users role, but this won't probably help you.

Florian Nawrath
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!
March 7, 2022

Hi @Hana Kučerová ,

That is unfortunate, still thank you for the fast answer :)

Like Hana Kučerová likes this
Amos
Contributor
February 22, 2023

I have a very similar requirement.

I would like to select a group, which the limits the visibility of an object to that group only.

Like Noah Dinlemez likes this
Noah Dinlemez
Contributor
November 15, 2024

hi @Amos

I'm looking to do this too. Did you succeed?

Noah Dinlemez
Contributor
November 18, 2024

With this, it is possible to restrict visability to only certain groups (that are mentioned in the object in an attribute).Groups allow visability.png


https://support.atlassian.com/jira-service-management-cloud/docs/use-assets-query-language-aql/ 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events