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

Bamboo and ServiceNow Integration

Hi, We are trying integrate bamboo with ServiceNow.

 

Usecase: Once bamboo plan runs , If it fails then reach ServiceNow and create Incident. If it gets success then reach ServiceNow and create change ticket. 

After this plan in another it needs to pull status of the tickets and send emails to appropriate Folks.

Just want to know any ServiceNow plugin in Bamboo.

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @sridhar

Thank you for bringing this challenging topic to our community. I'll comment on your comments but a little bit out of order.  😉

Just want to know any ServiceNow plugin in Bamboo.

As far as I can tell Bamboo does not have any out of the box integration with ServiceNow. It is possible that a developer out there has created a ServiceNow plugin (not in our marketplace), but doubt it would do all of what you want.

Let me share with you what I have and you can investigate how to move forward:

Usecase: Once bamboo plan runs , If it fails then reach ServiceNow and create Incident. If it gets success then reach ServiceNow and create change ticket. 

  1. Check how to create and change a ticket in ServiceNow through REST API
    REST API | ServiceNow Developers.
  2. Add the plugin Pre-Post Build Command Runner | Atlassian Marketplace in Bamboo. It will allow you to call a command (or script) when a build fails.
  3. Add a command to call the REST API you tested when the build fails.

After this plan in another it needs to pull status of the tickets and send emails to appropriate Folks.

  1. Check how to pull status of tickets in ServiceNow through REST API
    REST API | ServiceNow Developers.
  2. Create a script task to call the REST calls you investigated in step 1.
  3. Check this article to see an alternative on how to send emails through a script task:
    Solved: Bamboo - Send email notifications to list generated by a job.
    Bamboo does not have a custom task to send mail notifications. It sends multiple predefined notifications, but not in the middle of a build. There is a feature request for this at: [BAM-17085] Send customized email via Bamboo Task.

I hope this clarifies your request and give you enough information to allow you moving forward.

Thanks for Guidance , will move forward to achieve Goal

Like Daniel Santos likes this

I'm glad to hear that!
You are welcome!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

167 views 0 4
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