I'm new to using the Script Runner plugin. I don't have much Groovy or JavaScript background but I have a lot of Bash scripting and C programming background.
As in the picture, I can use $issue in the subject to show the ticket number in email. But how do I call other variables? I can't find any list or anything on what other variables I can use. I would like to use other variables such as:
I did figure out that issue.getReporterId() gets the username.
Any help on this would be greatly appreciated. Thanks.
You need to use the api docs to work out that issue.summary gets the summary, same for description. I've documented this somewhere...
There is no shortcut to familarising yourself with the api.
In terms of what else is in the script binding, I think nothing much in that case, just "issue".
Thanks. I found this: http://docs.atlassian.com/jira/latest/com/atlassian/jira/issue/Issue.html
which helps a lot.
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.