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.
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.