I’m trying to create a UI script that creates a button that when clicked will run the trigger.php script on my web server while passing in a user variable (from the My Settings -> Settings tab).
Is there a way to do this? And more specifically, could it be done with a password user variable? I see in gurock’s online documentation that user variables can be accessed when developing custom defect plugins, e.g. $context[‘user’]->settings[‘jira_user’]
but I am not sure how, or if it’s possible, to do the same thing in a UI script.