Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 2.32 KB

README.md

File metadata and controls

55 lines (31 loc) · 2.32 KB

Jira

Build Status

Enables agents to link Deskpro tickets and Jira issues. Allows creating, searching and listing Jira issues from within Deskpro.

Contents

Installation

This project requires Deskpro Apps Tool to be installed alongside the other dependencies. You can install Deskpro Apps Tool either locally or globally. We recommend to install it globally so you have it always availabe

To install the dependencies and Deskpro Apps Tool locally, run:

npm install && npm install @deskproapps/dpat@^0.7   

If you already have Deskpro Apps Tool installed, run:

npm install

Development

In your project folder run

npm run dev

Go to your deskpro installation, login to the agent interface, and navigate to the link below:

https://your-local-deskpro.com/agent/?appstore.environment=development

Notice the appstore.environment=development query parameter that tells Deskpro to load your application from the development server

Changing the default application

To start making changes, open the following file in your favourite editor.

src/main/javascript/App.jsx

While the development server is on, any change will cause the application to be reloaded in the Deskpro window, giving you a nice live preview.

Packaging

Once you are satisfied with your application, you will probably want to install it on your production or test installation of DeskPRO. To do that, you must package your application files in a distribution package that can be understood by DeskPRO when it will install your application,

To package the application, in your project folder run:

npm run package

This will create a dist folder inside your project folder which contains all the unpacked and compiled assets and a zip file named app.zip. This app.zip file is the one required to install your application via the DeskPro admin interface.