I would like to hide, using css/js or "Hide system or plugin UI element" functionality of scriptrunner a particular workflow button.
How would I go about doing that? I can't find any documentation of "module keys or web items" if I wanted to use "Hide system or plugin UI element", nor can I fugire out which context to select if I try to do it with css and "Install web resource" functionality
Hi @Jakub Cieplinski ,
if you wnat to hide a particular transition buttonyou should use workflow condition that hide/display buttons based on condition.
More information about conditions available at the following URL https://confluence.atlassian.com/adminjiraserver/advanced-workflow-configuration-938847443.html
Hope this helps,
Fabio
Yep, exactly that - conditions do what you need, you don't need Scriptrunner to do it.
Although, you might consider writing the condition with Scriptrunner ;-)
Much as I love SR, don't use it for things Jira can already do - always use native functionality first!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've managed to do it with fragments :)
I understand we could do it with conditions but we trigger such transition with another script and from I've been told transition options .skipConditions() sometimes manages to fail somehow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jakub Cieplinski !
Can you tell me some instruction about how you managed it with fragments?
I'm trying to do the same.
Thanks,
Roland
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Jakub Cieplinski !
We are trying to do exactly the same and hide transitions. The condition that does it doesn't suit our needs because we don't need the transition to be hidden in all the cases. Could you guide us on how you made this work?
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.