This is a very basic JavaScript application to run on the Zendesk Application Framework.
Zendesk-GitLab makes ondemand operations only and pulls GitLab API. Here's a complete list of what this package can do:
- Integrates as a sidebar pane
- When Zendesk ticket is created - it can link to an existing GitLab ticket, or create a new GitLab ticket
- List members of selected project
- List available labels of selected projects
- Option to automatically pre-populate Title and Description fields from Zendesk ticket
- Customize Title and Description when you create GitLab ticket
- If the task has a Due Date - it will be transferred over to the GitLab ticket
GitLab is an open source project management system that runs on a rails stack. With support for projects, issues, bugs and tasks, it can help manage projects efficiently and easily.
This Zendesk app allows agents and admins to interface with their current GitLab instances using the GitLab REST API.
-
A current, running instance of GitLab, with API access enabled, and an API key or a Private Token
-
A Zendesk account (running New Zendesk)
- Note: This is more of an important thing to know: If the user whose token is used to create Issues in GitLab is not at least a Reporter level - Labels will not get recorded in the GitLab ticket. See this issue
- Note: It works exact same for specifying the Assignee of the GitLab ticket where it respects the rights of associated token, hence can't assign by a guest user, and your token has to be at least a developer-level for Assignee to be properly recorded.
- If the change is done in GitLab directly - it will not push any info to Zendesk. This is a one-way communiction integration.
- % Done - doesn't work because I couldn't find how what info I could base this on?
- Didn't have any tickets with images, to test ImageAttachment and NonImageAttachments
- Implement OAUTH2 application wide authorization using gitlab oauth2
- Support for Ticket update to automatically push changes to gitlab
- Add caches to all elements
- Already pulls list of Project Milestones, but I didn't figure out points of integration for it
Note: I might submit it to the Zendesk Marketplace, in which case none of the installation instructions will be required and the app will be available for free at the marketplace but I haven't looked at their application submitting policy.
git clone https://github.com/virtuman/zendesk-gitlab.git
cd zendesk-gitlab/src
Use one of the following 2 ways to prepare an upload package bundle. Once the package is generated - it will be placed in zendesk-gitlab/src/tmp/ folder. Use the following instructions to upload your app
cd zendesk-gitlab/src
zat package
Install docker and run the following command:
docker run -v /path/to/zendesk-gitlab/src:/data -it -p 4567:4567 pindar/zat zat package
- GitLab API v3
- Zendesk API v2
- Zendesk ZAT v1
Alexei Smirnov (virtuman)