Affects Version/s: 5.4.43
Fix Version/s: None
The methods that allow customers to get the BehaviourContextId and ContextIssueId within a behaviour script now seem to always return null.
If you create a basic behaviour that just logs those variables:
And create your own web Item such as the following:
When you click the link that will now be in the "More" menu of the issue you will see in the debuger and logs that the values are null.
/rest/scriptrunner/behaviours/latest/validatorsByPid.json [Script1] getBehaviourContextId methods returns = null
/rest/scriptrunner/behaviours/latest/validatorsByPid.json [Script1] getContextIssueId method returns = null
I also checked the result of clicking the default menu items such as "Create Sub-task" which also shows nulls.