how can i give permissions for the field "labels

Josef Sigl October 10, 2024

 

Hello,

I've the following problem:

  • I'd like to make the systemfield "labes" editable when creating an issue, but only if a user is in Group XY. Ideally, this field should'nt be offered at all if someone is'nt authorized for it.
  • We use the "Field Security App for Atlassian Jira by quis.app" and with this app i'm able give permissions for custom fields (all, read only, no acess) for groups, users and so on. But the field "Labels" is an JIRA system fields, and so i can't do this.
  • I've already tried, to konfigure this permission with "Build-your-own Validator (JMWE)", but unfortunately it has failed. I don't know, how to konfigure this checkst that step after step.
  • Check 1: if currentUser in Group 'AT_CPBS-Customers(all)' then carry out Check 2 or don't check more
  • Check 2: if "labels" not empty then  error message

LIKE !If-then-else-exit!

The result must be, that users who are'nt in Group XY are not allowed to create or edit labels

note: we user JIRA Software DC

regards Josef

3 answers

0 votes
Nacho Moreno Ortega
Contributor
October 13, 2024

Hi Josef,

Would it be useful for you to create a validator in which if the user does not correspond to a group, the labels are not modified once the issue has been transitioned?
If so, and if it is a possibility for you to use a new app, let me know!

Best regards,

Nacho

Josef Sigl October 21, 2024

Hi Nacho,

the field "labels" is already available to everyone when creating an issue, but only "Users in Group XY" should be allowed to create or edit labels.

I would like to make this field visible, only for Users they are member of "Group XY".

regards
Josef

0 votes
karim -Atlassway-
Banned
October 10, 2024

Hi @Josef Sigl 

 

As alternative , using Colored Label Manager you can decide when you open and close your labels fields , when it's needed you can use it as select list field and delegate management to the project administrator It’s a perfect fit for Definition of Done, Definition of Ready, and Acceptance Criteria.

restrict label image.png

 

 

Cheers

Atlassway Team

 

 

 

Josef Sigl October 10, 2024

Hi Karim,

this is a "cloud-product" and we use JIRA DATACENTER.

regards

Josef

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2024

Hi @Josef Sigl 

 

Validator will works only if the fiels is not in the edit field and editable through a transition only. Is it the case ?

 

You could use Behaviours from Script Runner if you have it. But it will only works through the UI and do not block anything using the API.

 

Regards

Josef Sigl October 10, 2024

Hi Florian, thanks for your quick answere!

No we don't user script Runner.

What do you mean with "...Validator will works only if the fields is not in the edit field ..." ??

Regards

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events