That doesn't really make a lot of sense. Links are between issues.
I suspect a better way to put it might be "when looking at an issue, I want to get the links (or issues?) to issues within a specific target project". e.g. ABC-123 is linked to ABC-456, DEF-234, GHI-567 and DEF-345, so you want to get DEF-234 and DEF-345 because you've chosen project DEF. Does that sound right?
Yep. For each issue you want to look at the links for, use an issueLinkManager call to get the list of links and then check the issue at the end of each one in order to see if it's in the target project
For example - links = issueLinkManager.getLinkCollection (issue, user, true) will return all the links on an issue, as the passed user would see them, and the "true" excludes system links (subtasks and epics I think). There are other calls you can use, to get just incoming or outgoing links too.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs