Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I disable the 'Labels' option from 'More Actions' menu

I would like to disable 'Labels' option from 'More Actions' menu (as picture below), because I can't find this 'Labels' field at the custom field page, and also can't display this field on the issue view screen. Please help me on how to achieve this. Thanks

 

jira lable.JPG

2 answers

1 accepted

0 votes
Answer accepted
Moses Thomas Community Leader Apr 19, 2021

@Janet Juo I should have added,

This is the way, If you have the script runner plugin, you can do this.

1. Install the script runner plugin(paid) at the Atlassian market place
https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira\

2. Go to Manage Apps > SCRIPT RUNNER > Fragments > Create Script Fragments > Hide system or plugin UI element

3. Under Hide what "Type label > the module key for the web item is com.atlassian.jira.plugin.system.issueoperations:edit-labels

4. Under conditions enter the below ( it will hide the labels button in only this project.

jiraHelper.project?.key != "PROJECTKEY"


5. If you want to hide for all users in the project except for jira-adminstrators the enter the condition below



import com.atlassian.jira.component.ComponentAccessor
def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
def userUtil = ComponentAccessor.userUtil
def groupName = "jira-administrators"


userUtil.getGroupNamesForUser(currentUser.name).contains(groupName) || jiraHelper.project?.key != "PROJECTKEY"

 

Kind regards,

Moses

1 vote
Moses Thomas Community Leader Mar 09, 2020

@Janet Juo  No for now  you can't.

 

Best regards,

Moses

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you