Jump to content

JIRA failed to post resource


  • Please log in to reply
No replies to this topic

#1 Andrew DeFaria

Andrew DeFaria

    Advanced Member

  • Members
  • PipPipPip
  • 125 posts

Posted 03 November 2014 - 07:12 PM

I have configured the JIRA integration for Swarm and I thought it was working fine. However I'm seeing the following in the logs (which I just found was under About Swarm: System Information: Log):

JIRA failed to post resource: http://jira.audience...-756/remotelink (400 - Bad Request). {"request":"POST \/rest\/api\/latest\/issue\/RDBNK-756\/remotelink HTTP\/1.1\r\nHost: jira.audience.local\r\nConnection: close\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Zend\\Http\\Client\r\nAuthorization: Basic amlyYXN3YXJtaW...c2VyOmppcmFzd2FybWludGVncmF0aW9udXMzcg==\r\nContent-Type: application\/json\r\nContent-Length: 324\r\n\r\n{\"globalId\":\"swarm-change-19e7533cf4d55d81b30cb75b6dafad0f\",\"object\":{\"url\":\"http:\\\/\\\/swarm.audience.local\\\/changes\\\/198291\",\"title\":\"Commit 198291\",\"summary\":\"Merging RDBNK-756 from 100.2.0 to 100.3.0 for patch of NpNsFindMseCoeffsBlock...\",\"icon\":{\"url16x16\":\"http:\\\/\\\/swarm.audience.local\\\/favicon.ico\",\"title\":\"Swarm\"}}}","response":null}

Note that there is no Swarm remote link on RDBNK-756. Change 198291 shows me the summary you see above with RDBNK-756 made into a link to JIRA as I'd expect. However it's been my experience that the JIRA integration will link such things in the comments, but will not do anything to JIRA unless you've added a job. In this case there is a job added, which is RDBNK-713, not RDBNK-756. So then which is Swarm trying to deal with RDBNK-756's remotelink? There is none. It should be dealing with RDBNK-713's remotelink! Is this a bug? According to https://docs.atlassi...ra/REST/latest/ a 400 on POST for remotelink is returned if the input is invalid but I think in this case Swarm's trying to post stuff to the wrong place.

Should I file a bug? If so how?

Also tagged with one or more of these keywords: JIRA

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users