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

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 Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

628 views 7 23
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