Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-3996

When performing REST API exports, an error regarding template context is always logged

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Fixed
    • 6.9.10
    • Continuous Delivery, 6.9.11
    • Rest API
    • None
    • OK

    Description

      Description

      When performing REST API exports, the logs always present an error about context:

      The template requested does not exist on the current context.
      

      How to reproduce

      1. Upload a global template
      2. Run the following command to export with it: http://localhost:8080/plugins/servlet/jiraxporter?issueKey=GREYS-7056&outputType=docx&template=Test_template&context=admin

      Actual result/Attachments
      The logs always present the error below regardless of the context.

      The template requested does not exist on the current context.
      

      This should not occur since the template exists in the current context.

      Expected result

      This error should only be logged when effectively it happens.

      Version

      • 6.9.10

      Attachments

        Activity

          People

            afro Andre Fernandes Rodrigues
            amgt Ana Teixeira
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: