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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

587 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you