Hello,
I am new to JIRA / Confluence development and I am trying to figure out how to Grey out a menu item. I can remove the menu item but I would like to grey it out and provide a tool tip explaining to user why it the menu is grayed out.
Thanks for your help in advance.
PP
Community moderators have prevented the ability to post new answers.
You can make a plugin and modify the html with jquery ($AJS).
Do you have an example for this? or if you can write down the steps here that would be awesome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What specific Menu Item? Also, where were you able to remove them? Can you just "disable" that div and provide a tooltip?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have added some menu items under More button in Jira issue. Once I create and link issue to it, I want to disable the menu item so no duplicates/redundant items are created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will just have to put some code in it that will grey it out based on your condition. It should not be that different, just like doing it with any other website.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Java code or some css as I am using <stypeclass> in web item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using AUI? They have some very nifty examples in their documentation, it shouldn't be that hard to search for it (https://docs.atlassian.com/aui/latest/docs/auiselect2.html)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.