Prevent CSRF attacks in Atlassian on-prem apps

Hello! I made a presentation in which I showed how you can prevent CSRF attacks in Atlassian Server/Data Center apps. I talked about CSRF attacks in general (what it is and the way to prevent it) and also showed in detail how to prevent these attacks in Atlassian Server/ Data Center apps. You can findContinue reading “Prevent CSRF attacks in Atlassian on-prem apps”

atlassian-connect-express 9: add your own settings to the database

Hello! In this article we will see how to add your own settings to the database. This article is based on this one. You can find the source code for the article here. You can find a video for this article here. Let’s say your application depends on some settings which are set by yourContinue reading “atlassian-connect-express 9: add your own settings to the database”

atlassian-connect-express 8: execute own code after app installation

Hello! In this article we will talk how to execute your own code after somebody installed our app to Bitbucket. This article is based on this one. You can find the source code here. You can watch the video for this article here. Out of the box our app contains the following rest endpoint: ThatContinue reading “atlassian-connect-express 8: execute own code after app installation”

atlassian-connect-express 7: working with Postgres

Hello! In this article we will talk how to connect Postgres to our app. The code will be based on this article. You can find the source code for the article here. You can find a video for this article here. Our app by default stores information about all clients who installed our app. ByContinue reading “atlassian-connect-express 7: working with Postgres”

atlassian-connect-express 6: debug backend in VS code

Hello! I this article we will learn how to debug the backend of our application in Visual Studio Code (VS code). The code for our application will be based on this article. You can find the source code for this article here. You can watch video here. First attempt To debug our application in VSContinue reading “atlassian-connect-express 6: debug backend in VS code”

Prometheus Exporters: monitoring web requests

Hello! In this article we will talk about web requests monitoring with Prometheus Exporters. You can find a video for this article here. Prometheus Exporters exist in two versions – Lite (free version) and Pro (payed version). There are 4 Lite versions – Prometheus Exporter for Jira Lite, Prometheus Exporter for Confluence Lite, Prometheus ExporterContinue reading “Prometheus Exporters: monitoring web requests”

atlassian-connect-spring-boot: call bitbucket Rest Api

Hello! In this article we will talk about developing a Bitbucket Cloud app with atlassian-connect-spring-boot. We will change the app developed here. You can find the code for this article here. Add admin page We will delete the current module in backend/src/main/resources/atlassian-connect.json and add the following lines: It means that we will have our ownContinue reading “atlassian-connect-spring-boot: call bitbucket Rest Api”

Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar

Let’s say you started your plugin on MacOs with atlas-run and got the following error: The error says that file tools.jar was not found. What happened? The problem is that your default Java Home is wrong. Most likely, you reference JRE instead of JDK. To fix this problem first find all installed jdks with theContinue reading “Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar”

Enable JMX monitoring for remote Bitbucket Server/Data Center

If you want to know how JVM performs for your remote Bitbucket Server/Data Center you can either install an app for it ( for example, Prometheus Exporter for Bitbucket) or you can open JMX monitoring on your Bitbucket side and connect to its JVM with Jconsole, VisualVM or any other tool like this. In thisContinue reading “Enable JMX monitoring for remote Bitbucket Server/Data Center”

Spelling error report

The following text will be sent to our editors: