Hi all!
I thought that this should be pretty simple using Script Fragments, but I haven't found the web element even with the Fragment Locator enabled...
Also I haven't found an answer in the community neither in the web.
I'm trying to hide "Share with customer" button for every user except assignee. Any ideas?
I was referenced here by Adaptavist itself:
https://scriptrunner.adaptavist.com/latest/jira/fragments/WebResource.html
Haven't done yet
From 2022: Currently, there is fragment function: Hide UI element and over there, you can search for share button in servicedesk and it works.
If you need any condition, for example per project, check the docs here https://docs.adaptavist.com/sr4js/latest/features/script-fragments/built-in-fragments/hide-ui-element-built-in-script
or use
jiraHelper.project?.key in ["XYZ", "ABC"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever get anything on this? I am looking for a similar thing - I want the "Share with customer" button on comments hidden in 1 JSD project but not others.
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.