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,362,610
Community Members
 
Community Events
168
Community Groups

Is it possible to use the DevOps Analytics Report with Jenkins?

Hi,

Hoping someone can help please :)

We use Bitbucket Cloud and do deployments via Jenkins, I'm trying to get the deployment information feeding into the DevOps Analytics Report.

Currently we've managed to get alerts coming thru from Jenkins using the Jenkins integration but they come into the API report and not the DevOps report.

I'm also hoping to get this set up - https://community.atlassian.com/t5/Opsgenie-articles/Update-Incident-Investigation-Our-new-Deployment-API-enables/ba-p/1338467

Is the answer that we need to use the Deployment API?

https://docs.opsgenie.com/docs/deployment-api

Many thanks,

Andy

1 answer

1 vote
Connor Eyles Atlassian Team Dec 20, 2021

Hi @andrew_pass 

Thanks for reaching out! Connor here from the Opsgenie support team.

On the link you shared through, to get information feeding into the DevOps metrics report is connecting your Bitbucket workspace to Opsgenie.

DevOps metrics are more accurate and visualized better when you connect your Bitbucket workspaces to your Opsgenie account. This feature is currently only available for those who use Bitbucket as their VCS and deployment tool. Click here to find out more about connecting Bitbucket workspaces to Opsgenie.

Is this what you mean here? If not can you share with me what information you are wanting to feed into these reports.

I have also shared below the development API documentation which can be used to perform deployment-related actions with the Investigate an incident feature which allows you to track your deployments leading up to, and during incidents.

Some quick links to help you with this are:

Thanks,

Connor

We have a similar situation, in that we don't use Bitbucket - we use Azure DevOps. We'd like to be able to use the OpsGenie analytic reports by telling the OpsGenie API when we've done a release. Is this functionality planned?

Connor Eyles Atlassian Team Jan 09, 2022

Hi @Gustav Lasko 

In relation to your ask about Azure DevOps, we unfortunately dont have this functionality however we do have a feature request logged in our internal system (HEIMDALL-4787).

I am no Azure Devops specialist but a possible workaround here is connecting your Azure Devops projects with GitLab or Bitbucket and then connecting those GitLab or Bitbucket repositories with Opsgenie.

Hope this helps!

Thanks,

Connor

Hi @Connor Eyles 

Apologies for the very delayed reply to this!

So am I right in thinking we need to add stuff for the Create Deployment call 

https://docs.opsgenie.com/docs/deployment-api#create-deployment

So our JenkinsFile which will then send the info into OpsGenie each time we do a deployment?

Many thanks,

Andy

Hi Andrew, 

 

Justin here, filling in for Connor as he's out of office - happy to help!

 

But yes, that's exactly correct - you can create records of your deployments through the Create Deployment endpoint, and then can later use that data in the Incident investigation view of your incidents.

 

Having said that - if you run into any questions or issues as you set this up, please don't hesitate to reach back out here, or get in contact with us at support.atlassian.com or through the Opsgenie in-app chat. 

 

Thanks!

 

Justin Sitarz

Atlassian Cloud Support

Perfect, yeah we got it working now :)

Thanks Justin, just wanted to sense check before we went down a rabbit hole! 

Cheers,

Andy

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events