Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-1910

Remote API should support trusted application to retrieve information from Jira

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Currently, when configuring JIRA servers in Fisheye/Crucible, it doesn't use trusted application for getting information from Jira instead it uses the username/password account on the Jira instance.

      Steps to reproduce:

      1. Assume that you have a user in Jira named "Test" who doesn't have permission to access to any issues in Jira
      2. Setup JIRA servers in Fisheye and specify the credential for user "Test" via Admin > JIRA server
      3. Setup trusted application. See the FishEye documentation and JIRA documentation on trusted applications.
      4. Next, login Fisheye as a user who has permission to access the Jira issue e.g issue number MP-1 (in this case, this user should exists in both Jira and Fisheye)
      5. Create a review with a title named "MP-1"
      6. Mouseover the MP-1 link leads to the following error:
        2009-07-28 13:50:31,671 DEBUG [btpool0-10] fisheye.app JiraIssueAjaxAction-execute - Error getting information for JIRA issue MP-1 from JIRA server Jira
        com.cenqua.fisheye.util.LRUCache$ValueFactoryException: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: com.atlassian.jira.rpc.exception.RemotePermissionException: This issue does not exist or you don't have permission to view it.
        

      It would be good if the remote api supports trusted application to retrieve information from Jira.

      Attachments

        Issue Links

          Activity

            People

              tim@atlassian.com TimP
              mgchong Ming Giet Chong [Atlassian]
              Votes:
              56 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: