There is a method, MutatingEntityLinkService.getEntityLinksForKey(), which is supposed to return a list of the set entity links for a given Confluence space.
I call it this way:
this.mutatingEntityLinkService.getEntityLinksForKey(confluenceSpaceKey,
ConfluenceSpaceEntityType.class);
Where confluenceSpaceKey is the key of a Confluence space that has got an entity link with JIRA (you can set it through space tools > integrations > application links). I am sure that the aforementioned application link exists within my space. Believe me. It exists, it is true and it is never going to be false. It exists. The problem is that the method used to work before and it returned the entity link, but now it only returns an empty list. I haven't screwed with anything. It stopped working on its own without any reason. It is really driving me nuts. Could someone out there figure out why is this such strange thing happening to me? I am very worried about it.
Thank you.