Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to do POST request from Jira Service Desk to Bamboo using webhook?

Dchosen December 7, 2018

I am trying to trigger a build in Bamboo when Jira Service Desk get a ticket approved. I have configured custom rule in the project setting. I am getting "HTTP Status 405 - Method Not Allowed", which describes to "The specified HTTP method is not allowed for the requested resource".

When I try to do curl from my desktop it works fine but when JSD tries to hit it does not even reach Bamboo.

 

2 answers

1 accepted

1 vote
Answer accepted
Dchosen September 25, 2019

The issue was with the Bamboo version. It was on an older version and API url was using latest version of API. I upgraded the bamboo version and API worked. 

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 18, 2018

Hi Rahul,

This is what I would do to troubleshoot this one:

  1. Check if you are able to run the same curl command from the Server where Jira Service Desk is running. This should work first.
    This will validate any network issue that could be happening.
  2. Make sure you have the authentication and PLAN-KEY in the URL as the following one:
    http://admin:password@bamboo-host:8085/rest/api/latest/queue/PLAN-KEY?os_authType=basic
    Reference: How to Configure JIRA Webhook to Trigger Bamboo Build
  3. Check both Bamboo and Jira Service Desk logs to troubleshoot it further

Please share with us your findings in case the information above didn't help.



Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events