You can develop plugins for JIRA Service Desk just as you can for other types of Atlassian applications. However, developing for JIRA Service Desk introduces a few wrinkles to the usual development process, as outlined below.
JIRA Service Desk is an application that is built on the JIRA platform and has its own APIs and plugin points. Therefore, to extend JIRA Service Desk, you actually need to create a JIRA plugin that interacts with these integration points in some way.
For now, JIRA Service Desk exposes a few plugin module types for extending Automation in JIRA Service Desk, JIRA Service Desk: Automation Rule Components.
The high level steps for developing JIRA Service Desk plugins with the SDK are as follows:
atlas-create-jira-plugin SDK command. This command creates the plugin project files and skeleton code.atlas-package command from the project root directory. This command creates a packaged JAR file that you can install into JIRA (in the target sub-directory)atlas-run-standalone --product jira --version 7.0.0. atlas-package command. There are two ways that you can do this:
atlas-package command generated for you. You'll find the JAR file in the target directory of your project home after running atlas-package.atlas-install-plugin (after having packaged your plugin JAR using the atlas-package SDK command). This command will simply upload your plugin to UPM (and can considerably shorten your development flow).You should now be able to see your add-on in the JIRA "Manage Add-ons" page as an installed plugin. Every time you change your plugin code or resources, reload your plugin repeating step #6 above.
Adding the JIRA Service Desk API to your plugin project
If you want to use the JIRA Service Desk API in your plugin project, add a dependency to your plugin POM as follows:
provided dependency on jira-servicedesk-api to your plugin POM, using the version shown in the documentation (3.3.1 → 3.3.0-REL-0036).JIRA Service Desk has its own APIs, separate from the JIRA platform APIs. The REST API for JIRA Service Desk Server is documented here: https://docs.atlassian.com/jira-servicedesk/REST/server/
You can find the links to the other JIRA Service Desk REST API documentation here: JIRA APIs.
Rate this page: