It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fisheye repository permissions applying to JIRA Source Tab

David Chou Mar 06, 2013

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

1 vote
Answer 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

David Chou Mar 06, 2013

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,945 views 3 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you