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,361,338
Community Members
 
Community Events
168
Community Groups

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 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...

313 views 0 7
Read article

Atlassian Community Events