Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-63057

Warnings in log about deprecated XSRF token when creating new project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.2.3, 7.1.9, 7.2.11, 8.0.2, 8.8.1, 8.20.11
    • REST API

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      When creating a new Project in JIRA, warnings about the use of a deprecated token are logged.

      Steps to Reproduce

      1. Install and setup JIRA
      2. Create a Project

      Expected Results

      Project is created with no Warnings captured in atlassian-jira.log

      Actual Results

      The below exception is thrown in the atlassian-jira.log file:

      2016-11-03 15:24:04,438 http-nio-8080-exec-13 WARN rstadler 924x103x1 1r7q1fr 192.168.19.1 /rest/project-templates/1.0/templates [c.a.p.r.c.security.jersey.XsrfResourceFilter] Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead.
      2016-11-03 15:24:04,446 http-nio-8080-exec-13 WARN rstadler 924x103x1 1r7q1fr 192.168.19.1 /rest/project-templates/1.0/templates [c.a.p.r.c.security.jersey.XsrfResourceFilter] Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead.

      Workaround

      You can suppress the output for com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter to keep the messages from being logged if you don't want to see these in logs, but this risks suppressing something you would want to capture normally.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rstadler@atlassian.com Russell Stadler (Inactive)
              Votes:
              16 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: