Fisheye repository permissions applying to JIRA Source Tab

So I have a Perforce location //depot/foobar/...

Fisheye Group A can see all of //depot/foobar/...

Fisheye Group B can see everything in //depot/foobar/... except //depot/foobar/private/...

So I setup Fisheye:

"Repo1" to index //depot/foobar/... excluding //depot/foobar/private/... and both Group A and Group B has permissions.

"Repo2" to index only include //depot/foobar/private/... and only Group A has permissions.

This is all fine and dandy in Fisheye.

I'm looking to have JIRA's source tab also reflect these permissions. Basically a user in Group B cannot see the commits in repo2.

Both Group A and Group B has permissions to see the source tab. When looking at a particular JIRA ID:

1. If I am a user in Group A, I should see all changes that are committed in //depot/foobar/... for that JIRA ID.

2. If I am a user in Group B, I should see all changes EXCEPT ones that are committed in //depot/foobar/private/... for that JIRA ID.

#1: works fine

#2: I can see the changes committed to "Repo1" but I am getting an error to Repository "Repo2".

This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

  • Repository Repo2 on http://myserver:8060 failed: Error in remote call to 'myserver' (http://myserver:8060) [AbstractRestCommand{path='/rest-service-fe/changeset-v1/listChangesets/', params={expand=changesets[-21:-1].revisions[0:29], comment=TEST-1, p4JobFixed=TEST-1, rep=Repo2}, methodType=GET}] : Received status code 403 (Forbidden)

1 answer

1 accepted

Hi David,

This error message indicates that FishEye returned a permisison error for the user making the query, which sounds like what you want, but you don't want the error to be displayed. Could you please clarify what version of FishEye and JIRA you're using?

If you're using FIshEye 2.9 or newer and a recent JIRA FishEye plugin, this message shouldn't be shown anymore because the way that JIRA queries the changesets from FishEye has changed. Perviously, JIRA would make one query for each repository on FishEye it knew about, but now it should make a single query for all visible changesets. This should prevent the error you're seeing.

Kind Regards,

Richard Stephens

Thanks for replying Richard, your understanding is correct - I do not want the error to be displayed.

YES! You were right, there was an update for FishEye plugin and that did resolve the issue! (...man... I should have read through the release notes)

=========================

For the greater audience, my Fisheye version and Fisheye Plugin were these:

Fisheye Version:2.9.2 Build:20121210041242 2012-12-10

FishEye Plugin 5.0.4.1

I upgraded the plugin to FishEye Plugin 5.0.14 which resolved the issue.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,874 views 19 22
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you