Looks up the workflow for the currently opened Issue and opens it in a new tab
This script uses the Jira API to look up the configured workflow for the currently seelected issue and opens it in a new tab to be edited. As workflows can only be edited by Admins, this script is only really useful for admins and will probably not work at all for non-admins.
Disclaimer: The logic to get the issue key is horribly hacky as the usual function (JIRA.Issue.getIssueKey()) does always seem to return null since some time. Let me know, if you have a better way to do this.