I don't think Vasiliy's example will work on issue create, because there is no issue yet.
The way to do this which will work in all cases is:
issueContext.projectObject.name
for the name, else you can get the key, or the project object itself.
Assume that you need get Project name on issue create transition. Try this code:
issue?.getProjectObject().getName()
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.