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”

Prometheus and Histograms

In this article we will talk how to use histograms in Prometheus Exporter apps(Jira, Confluence, Bitbucket, Bamboo). I will use the jira_request_duration_on_path metric as an example, but you can apply the same principles to all histogram metrics. Here is how the metric looks in the documentation (https://confluence.cprime.io/display/CADS/PE+-+Using+Prometheus+Exporter+for+Jira): As you can see in the second columnContinue reading “Prometheus and Histograms”

Jira Server/Data Center apps: Make REST API Browser see that your POST REST consumes application/json

In this article I will show you how to make REST API Browser see that your POST REST endpoint consumes application/json in Jira Server/ Data Center apps. Problem Let’s create a new Jira Server app via Atlassian SDK and add a new REST plugin module. By default your file src/main/java/ru/matveev/alexey/atlassian/tutorial/rest/MyRestEndpoint.java will look like this: WeContinue reading “Jira Server/Data Center apps: Make REST API Browser see that your POST REST consumes application/json”

Jira Server/Data Center app: How to add an OOB condition to the web-item module in spring scanner

In this article I will show you how you can add an out of the box Jira condition to a web-item in a Jira Server/Data Center app which uses spring scanner. You will not have this problem if you do not use spring scanner, but you will if you use. And I will show youContinue reading “Jira Server/Data Center app: How to add an OOB condition to the web-item module in spring scanner”

dc-app-performance-toolkit: debug selenium tests and solve insecure ssl certificate error

Hello! In this article we will talk about Atlassian tool called dc-app-performance-toolkit. This tool helps you to performance test your Jira, Confluence and Bitbucket instances. I wrote a couple of articles about this toolkit. The toolkit consists of Jmeter and Selenium tests. In this article I would like to give you a hint how youContinue reading “dc-app-performance-toolkit: debug selenium tests and solve insecure ssl certificate error”

How to handle insecure SSL certificate sites with Prometheus for Jira, Confluence, Bitbucket and Bamboo

Hello! In this article I will tell you how to handle insecure SSL certificate sites with Prometheus for Jira, Prometheus for Confluence , Prometheus for Bitbucket and Prometheus for Bamboo apps. Suppose, you connect to a Jira, Confluence, Bitbucket or Bamboo instance with an insecure ssl certificate and you have the following config file: InContinue reading “How to handle insecure SSL certificate sites with Prometheus for Jira, Confluence, Bitbucket and Bamboo”

SIL: How to get values of custom fields defined in a list

Hello! We had a question in Moscow Atlassian User group on how to get the value of a custom field in SIL if the name of the field is defined in an array. I think code will explain it better: As you can see I get issues by a JQL query. Then I define anContinue reading “SIL: How to get values of custom fields defined in a list”

How to remove a commit from Atlassian Bitbucket

Hello! In this article I will show you how to delete commits from a Bitbucket repository. Why would we need to delete a commit? It can happen if you accidentally pushed sensitive information into your Bitbucket repository. For example, you forgot to exclude a file with passwords from adding to git or you provided yourContinue reading “How to remove a commit from Atlassian Bitbucket”

How can SIL convert Jira wiki markup to HTML markup to make emails readable

Hello! We had a question in Moscow Atlassian User Group, how to make wiki markup be well formatted in a email using SIL. Problem Suppose, we have an issue in Jira with a table in the description of this issue: Let’s send the description of this issue by email with the following SIL code: TheContinue reading “How can SIL convert Jira wiki markup to HTML markup to make emails readable”

Spelling error report

The following text will be sent to our editors: