Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,913
Community Members
 
Community Events
168
Community Groups

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

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

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

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
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events