Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-324

Plugin logs into JIRA, but doesn't seem to make the status request with the session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.10
    • jira
    • None

    Description

      After successful login, I end up with:

      Nov 11, 2013 5:47:19 PM org.apache.cxf.interceptor.LoggingOutInterceptor
      INFO: Outbound Message
      ---------------------------
      ID: 3
      Address: https://xxxxxxxxxxxxxxxxx/rest/api/2/status
      Http-Method: GET
      Content-Type: application/json
      Headers: {Accept=[application/json], Content-Type=[application/json]}
      --------------------------------------
      Nov 11, 2013 5:47:19 PM org.apache.cxf.interceptor.LoggingInInterceptor
      INFO: Inbound Message
      ----------------------------
      ID: 3
      Response-Code: 200
      Encoding: UTF-8
      Content-Type: application/json;charset=UTF-8
      Headers: {Cache-Control=[no-cache, no-store, no-transform], connection=[keep-alive], Content-Length=[2], content-type=[application/json;charset=UTF-8], Date=[Mon, 11 Nov 2013 22:47:30 GMT], Server=[nginx], Set-Cookie=[atlassian.xsrf.token=B14E-GL73-6FKZ-OP3B|dd19dbabf6f82c59be235929d3f1ee8d9e41fa4a|lout; Path=/], Strict-Transport-Security=[max-age=315360000;includeSubdomains], Vary=[Accept-Encoding], X-AREQUESTID=[1067x34467x1], X-ASEN=[SEN-2356824], X-AUSERNAME=[anonymous]}
      Payload: []
      

      Which returns nothing as you can see. I think that may be because it has X-AUSERNAME=[anonymous] ? Instead of using the session it created...

      After logging into jira in chrome, pasting the just the rest url into the browser returns all the different status (works as I'd expect).

      Attachments

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              astubbs Antony Stubbs
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: