In ScriptRunner for Jira on-prem, you can get the issueContext in the Behaviours that allows you to access the project/issue type: https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-examples/project-and-issue-type-behaviours
It would be great to implement the same function in Behaviours Cloud so that I can get the project and issue type regardless of whether the issue is being created or already exists.