Scriptrunner/Behaviours - How to get Project value?


Does anybody know how to get the project value from this screen in scriptrunner/behaviour scripts?





2 answers

This widget could not be displayed.

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:

for the name, else you can get the key, or the project object itself.


This widget could not be displayed.
Vasiliy Zverev Community Champion Nov 16, 2016

Assume that you need get Project name on issue create transition. Try this code:


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 11 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

29 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you