In order to publish your project artifact into Artifactory, you need to define publication details in your build.gradle file. First you need to define the Artifactory server and credentials for deploying your artifact. In the "artifactory" you can define the target repository even dynamically. In my example the repository URL depends on the type of the… Continue reading Publishing with Gradle into Artifactory
Category: Atlassian
UTF-8 character problem with JIRA Application link
I have created a JIRA, and a Confluence add-on. They communicated with each other via REST API, using the Application link interface. I needed to call a REST function, implemented in my own JIRA add-on, from the Confluence add-on. It worked fine until any of the REST parameters contains a non ASCII character. In… Continue reading UTF-8 character problem with JIRA Application link
Using JIRA REST API via Restclient.
While implementing JIRA plugins, I recently had to use JIRA REST API to create and modify issues. As I did not want to install any desktop application, I decided to use the RESTclient plug-in for Firefox. It provides a very convenient way to deal with REST requests, and makes it possible to try out your… Continue reading Using JIRA REST API via Restclient.
Using Application Link in Atlassian plugins
When implementing complex plug-ins for the Atlassian suite, it might be needed to request information from another Atlassian application. You can see examples for it, when JIRA shows Stash commits, of Confluence pages. As all Atlassian applications has a REST API, it is possible to make JSON calls directly. Using Application Links for communication between… Continue reading Using Application Link in Atlassian plugins
Figure out if a field has been changed in JIRA event handler
At the previous post I have created an event handler for JIRA issues. Now, I will show how to check if a particular field has been changed during the event to be handled. JIRA uses GenericValue objects from org.ofbiz.core.entity package to store event related information. GenericValue is basically a Map implementation to store all kind of data.… Continue reading Figure out if a field has been changed in JIRA event handler
Creating event listener for JIRA issue
Issue update event listener makes it possible to when the issue is created or modified in JIRA. As the event listener is registered to the lifecycle of the issue, the listener will be notified independently of the actual GUI element, used to create or update the issue. Also the event listener will be notified after… Continue reading Creating event listener for JIRA issue