Hi
Does anybody know how to get the project value from this screen in scriptrunner/behaviour scripts?
2016-11-16_14-15-52.png
Thank-you,
Cynthia
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.