gestion des autorisations sur les tickets

Fouzia Belarbi September 25, 2019

Bonjour,

Je voudrais savoir si nous pouvons donner des autorisations spécifiques a un type de ticket

Exemple: Sur un projet j'ai deux types d'utilisateur, un utilisateur interne et un utilisateur externe 

l'utilisateur interne je voudrais lui donner l’accès a tout les types de ticket(Epic,Story, Tache ...etc

L'utilisateur externe je voudrais lui limiter les accès, et lui donner la possibilité de visualiser q'un seul type de ticket

comment puis je faire cette configuration s'il vous plait ?

 

3 answers

19 votes
Fouzia Belarbi September 26, 2019

Super merci beaucoup, j'ai réussi

J'ai une toute dernière question si vous permettez,

Peut on attribuer un niveau de sécurité par défaut a la création de certain type de ticket

Exp: tous les tickets de type "Story"  je leur donne un niveau de sécurité a la création sans aller le modifier un par un

 

Merci encore c'est très gentil de votre part

fran garcia gomera
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.
September 26, 2019

You could add a postfunction in issue creations to check the issuetype and assign the correct security level.

something like

import com.atlassian.jira.component.ComponentAccessor

log.warn(issue.issueType.name)

if (issue.issueType.name == 'Story'){
issue.setSecurityLevelId(recherchez ton code)
}

Not tested and sure it has some typical error, but i think that could be the idea

0 votes
Fouzia Belarbi September 26, 2019

Bonjour Fran,

 

Je vous remercie pour votre retour rapide

j'ai les deux groupes d'utilisateur, mon problème est que je n'arrive pas a interdire au groupe externe de visualiser les story et taches sur le même projet

Sur un projet je voudrais que les utilisateurs externes ne puisse pas voir les Tâche,story et qu'ils puissent voir qu'un seul type de ticket 

Je ne sais pas si possible de le faire !

Merci beaucoup d'avance

fran garcia gomera
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.
September 26, 2019

yes, you can.

Have you found the security issue levels option?

Here you have some info https://confluence.atlassian.com/adminjiracloud/configuring-issue-level-security-776636711.html

After all of that is done, remember to bulk change all previous issues to 'sans externe' level

Like Fouzia Belarbi likes this
0 votes
fran garcia gomera
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.
September 25, 2019

I can't answer you in french but sure Google translate will help.

You can set issue security levels (in the project admin page, under permissions)

basically, you define wich roles or groups you allow to access every different issue security level.

You should create a new role (or use one of the existent that you are not using) in the project and put your external users there.

Then you define the security levels, let's say 'avec externe' and 'sans externe'. in the 'avec externe' you add every rol including that one you used for external users. In the 'sans externe' yoou include every role except that for the external users.

If you have already created issues that you don't want external to see, you have to give them 'sans externe' security level (you can do it easily with a bulk operation)

Then you have to create every issue with the right security level. You could automate this process with a postfunction or with an automation.

And that should be all.

 

Forgot to say that security level only restrict access to users that have permission in that project, so you have to add the external role to the permission scheme in any task you need them to do on their issues (and don't forget browse project permission)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events