Hi,
As you may know, we HAVE to enable full share access in the customer permission in order for customers to be able to select a user in a user picker field, even if this is not related to sharing the issue at all. The "browse users and roles" global permission is not sufficient.
Anyway, this (and you won't believe me) enables the customer to share his request to anybody within the project (👁️👄👁️), a behaviour I do not want.
I therefore wish to hide the "share" button available on the portal view/customer's request view. My instance does have Adaptavist Scriptrunner and I believe UI fragments can do the job.
My issue is that I do not find which system fragment to use.
When I enable the "fragment locator", it does display those items on the portal
But I do not find any of those in this list:
(and unfortunately, both items I selected do not change anything)
Can anybody help?
Bonus question: How to write the condition so that the fragment is only active on this single project only?
Thanks.
As answered per Adaptavist support, here's a quick procedure:
request-options
writer.write("""
<style>
#cp-request-share-root > div > div:nth-child(2){
display : none;
}
""")
issue.projectObject.getKey() == "IN"
Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨
Join the EAP →Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.