Hello, is there a way in Jira DC to hide a password being used in a JMWE groovy validator code?
Hi @David Whitlock
I do not think so but base on the usage you may have solution that do not require to store the password.
ex; https://library.adaptavist.com/entity/get-request-using-trusted-request-factory
Reagrds
Hi @David Whitlock ,
there are a few approaches. For example, you could save the password on a file in your Jira Home and read it from your Groovy script. You could also have it as a Java property added to your startup script. But generally, if you need a password, it'll need to be stored somewhere, and even though you can obfuscate it (or even encrypt it), the decryption code will need to be in Groovy so it will not be fully protected.
It looks like you're new here. Sign in or register to get started.