Welcome to the community. See also this discussion Cross board interaction between two items
When I discussed this with monday they explained that it will be possible (in the near future) to define the boardId as an dependency for Custom Field type. However it is not there yet.