Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,681
Community Members
 
Community Events
176
Community Groups

Create a Project Role and Set Permissions Based on Custom Field

I have a newly created project role and want to limit access to various Confluence Spaces, JSWs, and JSMs based on custom field values. Has anyone any experience in this, and could walk me through how this would work?

Thanks in advance

1 answer

0 votes
Dave Meyer Atlassian Team Mar 31, 2022

@JD Lobue for JSW and JSM you can do this in two ways:

1. For company-managed projects, you would change the permission scheme that a given project is using to grant the "Browse Project" permission to the role you created, and remove whichever other entities you might not want to be able to have access to the project.

2. If you created the role in the team-managed project, then anyone with this role implicitly has access to the project.

As far as I know, there is not a way to manage access to Confluence spaces based on a Jira role. You would need to use a group.

Hi Dav, Thank you for this. Is there any way to limit based on a custom field? In other words I only want users in that role to be able to see work depicted by a value in that field. 

Dave Meyer Atlassian Team Apr 02, 2022

Hey @JD Lobue ,

I’m not entirely sure what you mean. My best interpretation is that you’re asking if you can only allow users in a certain role to see a given field on an issue.

This idea of “field-level visibility” isn’t supported in Jira and likely never will be. The most common way to work around this is to maintain two distinct Jira projects, one that is “internal” with a certain set of fields, and a separate project with an “external” set of fields. There are also several “issue syncing” apps on the Atlassian Marketplace that can help with this.

No. That is not what I'm trying to do. What I'm trying to do is limit issues to only those that have certain values in a custom field based on a role so that X role only could see issues that had a custom field set to Y and no others.

You can't do that with custom fields, but you can with issue security.

This lets you set a "level" on an issue that limits visibility further than the project's "browse" permission, you can set up levels to allow totally different sets of people to see issues.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events