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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Script Runner - Hide UI Element not working as expected

I am trying to hide two elements for two projects.  The first project works fine (Project1), but the second project (Project2) is leaving the "Assigned to Me" visible.  I've tried to separate the two with the same behaviour.  I don't know what I'm doing wrong.

Screen Shot 2021-01-29 at 08.36.05.png

2 answers

1 accepted

2 votes
Answer accepted

Hi @Jo-Anne MacLeod ,

Unfortunately, you cannot hide the "assign to me" in Jira just ScriptRunner.

You might be able to:

  • Use "Assign issues" permission via project permission scheme to remove the "Assign to me" link based on the certain criteria.
  • Add custom Javascript to do so.

I think in the past there was a module installed by the system plugin provided by Jira called Issue operations plugin and the ScriptRunner developer thinks that module is where that com.atlassian.jira.plugin.system.issueoperations:assign-to-me module identifier points to and it was removed.

Thanks for the suggestion. It worked with the  "Assign issues" permission via project permission scheme to remove the "Assign to me" link based on the certain criteria.

Hi Jo-Anne,

I believe the condition states, "Not these two projects." You may want to remove the exclamation point and curved parentheses. There is an example on Adaptavist's Hide UI documentation. Cheers!

ya, I read the documentation.  If you read down on the page, you will find that what I have is exactly what the documentation examples show.  For the record though, if I remove the ! (not) and the brackets, then I have the same behaviour, in that it still doesn't work.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Why you should move agile planning to Lucidspark’s digital whiteboard

During my 17 years as a coach, mentor, and trainer of Agile teams, I’ve participated in hundreds of Agile planning meetings. The end result was a wall of backlog items annotated by an explosion of co...

116 views 0 5
Read article

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