I have created a feature that creates a linked issue to the current issue.
This works well when my issue is fully displayed.
But when my issue is partially displayed (list view for example) the getBehaviourContextId() function returns null and this leads to an error that blocks the page (need to refresh).
How can I get the behaviourContextId in this case?
or
How can I block the feature in this case?
Regards,
Franck
Why do you need that value, what for? There are different ways to do whatever you plan on doing with it.
The reason is likely that while on board, it's not "clear" what the context really is (since boards are kind of generic displays). While there is an argument that it probably could technically be done, at the same time, it's likely unnecessary.
If it's about ignoring the null values..
if (!getBehaviourContextId())
return // no contextId, do nuthin
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.