Assign a ticket automatically to the agent when viewing it, if the ticket is unassigned.
Assign a ticket automatically to the agent when viewing it, if the ticket is unassigned.
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
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.
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.
View online docs at: https://deskproapps.github.io/labs-auto-self-assign