Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-20812

jiraissues macro fails with confusing/invalid error message when trying to fetch restricted project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.5
    • None
    • None

    Description

      The following macro:

      {jiraissues:url=http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+RNDR+AND+fixVersion+%3D+%226.0.5%22+ORDER+BY+status+DESC%2C+priority+DESC&tempMax=1000}
      

      yields this error message:

      Error formatting macro: jiraissues: java.lang.RuntimeException: The value 'RNDR' does not exist for the field 'project'.
      

      As can be seen in https://extranet.atlassian.com/display/DEV/2010/04/06/Atlassian+Renderer+6.0.5+released

      RNDR is a restricted project; When passing username and password using the &os_username=MYNAME&os_password=MYPASSWORD url parameters, the issues can be rendered just fine.

      It appears that the error message is wrong and need to be something like: "'RNDR' is a restricted project. You do not have permission to view it."

      Edit: Changed description

      Attachments

        Issue Links

          Activity

            People

              rhartono Roy Hartono [Atlassian]
              ssaasen Stefan Saasen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: