I need the following:
When i assign a user to an issue, the issue must be visible to the user and the group and Project Role where the user is.
I will make an example to illustrate:
So a Issue only have to be visible to the user assignee and Intersection of group and project role the user belongs.
Do you know how to do it?
You can't do this. The fact that the issue is assigned to Bob has nothing to do with the visibility of the issue except for when you want to implement a rule for "assignee can see the issue". Bob's groups and roles may also let him see the issue, but they have nothing to say about who else can see the issue.
You need to set up a security scheme that allows you the right visibility rules, and then set the right security level for the issue at the same time you are assigning it.
Hi,
You may check "Issue security schemes" in Administration > Issue.
You can create security level based on groups/project role/...
In the screen of the issue, insert the field "level" and fill it with a security group.
Only the users in the right security group will be able to see this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that way is the way i know, but the case i have is different, i dont know the group to restrict the issue security scheme. JIRA may read the group and Project role from the asignee and only let see the issue to the users in the intersection of Project role and Group from asignee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, JIRA does not read anything from the assignee. The assignee is the assignee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mmmm the way i see it, your main question is "is there a way to create groups that automatically add user in terms of their groups ?"
Actually, issue security schemes can be set through field. Maybe you can use that.
But the problem may remains the same since the main difficulty is that you don't know the people to put in the security level in advance.
Maybe there are solutions in the JIRA API that can help you through programmation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.