Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 47 additions & 38 deletions extras/github-gitlab-integration.rst
Original file line number Diff line number Diff line change
@@ -1,45 +1,54 @@
GitHub / GitLab Integration
===========================

With the issue tracker integration, you can monitor GitHub / GitLab issues right
from within a Zammad ticket. This feature is optional. If you don't see it in
the ticket sidebar, that means your administrator hasn't enabled it yet.
Administrators can learn more in the
:admin-docs:`issue tracker integration in the admin documentation </system/integrations#integrations-for-issue-trackers>`.

.. figure:: /images/extras/issue-trackers/ticket-settings-with-github-issues.png
:alt: Ticket detail view showing activated GitHub & GitLab function
With the issue tracker integration, you can link GitHub and GitLab issues to a
ticket and follow their state while you work on it. Zammad stores only the
issue URLs on the ticket. Title, state, type, milestone, assignees and labels
are read from GitHub or GitLab each time you open the panel. Nothing is
written back to the tracker. Issues only: pull requests and merge requests
cannot be linked.

The panels are optional. If you don't see them in the ticket sidebar, your
administrator hasn't enabled the integration yet. Customers don't see the links
either. Administrators can learn more in the
:admin-docs:`GitHub </system/integrations/github.html>` and
:admin-docs:`GitLab </system/integrations/gitlab.html>` integration pages.

.. figure:: /images/extras/issue-trackers/ticket-sidebar-linked-github-issue.png
:alt: Sidebar with opened GitHub panel and linked issue.
:align: center

Use the |github| and |gitlab| tabs on the ticket sidebar
for an overview of issues related to the ticket.

What Can It Do?
View Linked Issues
------------------

Open the **GitHub** or **GitLab** tab in the ticket sidebar of a ticket that
already has issues linked. Each entry starts with an icon for the issue state,
followed by the issue number and title. Click the title to open the issue on
GitHub or GitLab. Each entry also shows the issue's **Milestone**, **Assignees**
and **Labels**. GitHub issues show a **Type** as well. A field appears only
when the issue has one. The badge on the tab counts all linked issues, not
only the open ones. Zammad reads the state when the panel loads and doesn't
watch the issues, so no notification is sent when an issue changes. If the
panel shows ``Loading failed.`` instead of the issues, ask your administrator
to check the token.

Link an Issue
-------------

Select **Link issue** from the menu next to the panel title, then enter the URL
of a single issue and confirm. Zammad accepts links like
``https://github.com/organization/repository/issues/42`` or
``https://git.example.com/group1/project1/-/issues/1``. While you create a
ticket, you can link issues too. They are saved with the new ticket.

Zammad ignores a URL that is already linked to the ticket. It also rejects a
URL it cannot resolve, usually because the issue doesn't exist or because the
API token cannot read its repository or project. Ask your administrator to
check the token in that case.

Unlink an Issue
---------------

View related issues
Use the |github| and |gitlab| tabs on the ticket sidebar to see linked issues,
along with metadata like status (open/closed), assignee, labels, and more.
Or, simply click the title to view the issue on GitHub / GitLab.
A badge on the tab icon indicates how many issues are linked to this ticket.

Link a new issue
At the top of the ticket sidebar, select *GitHub / GitLab > Link Issue*,
then enter a valid issue URL. Please note that linking a new issue can be
slow sometimes.

.. figure:: /images/extras/issue-trackers/list-and-add-new-issues-to-ticket.gif
:alt: Screencast showing how to list and add new issues to a ticket
:width: 90%
:align: center

Remove an issue
Click the ✕ button next to an issue title to unlink it.

.. |github| image:: /images/icons/github-64px.png
:alt: GitHub logo
:width: 16px

.. |gitlab| image:: /images/icons/gitlab-64px.png
:alt: GitLab logo
:width: 16px
Click the ``X`` button next to an issue title. Unlinking removes the reference
from the ticket and leaves the issue untouched in GitHub or GitLab. Other
tickets that link the same issue keep their own reference.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/icons/github-64px.png
Binary file not shown.
Binary file removed images/icons/gitlab-64px.png
Binary file not shown.
52 changes: 18 additions & 34 deletions locale/user-docs.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4211,59 +4211,43 @@ msgid "GitHub / GitLab Integration"
msgstr ""

#: ../extras/github-gitlab-integration.rst:4
msgid "With the issue tracker integration, you can monitor GitHub / GitLab issues right from within a Zammad ticket. This feature is optional. If you don't see it in the ticket sidebar, that means your administrator hasn't enabled it yet. Administrators can learn more in the :admin-docs:`issue tracker integration in the admin documentation </system/integrations#integrations-for-issue-trackers>`."
msgid "With the issue tracker integration, you can link GitHub and GitLab issues to a ticket and follow their state while you work on it. Zammad stores only the issue URLs on the ticket. Title, state, type, milestone, assignees and labels are read from GitHub or GitLab each time you open the panel. Nothing is written back to the tracker. Issues only: pull requests and merge requests cannot be linked."
msgstr ""

#: ../extras/github-gitlab-integration.rst:14
msgid "Ticket detail view showing activated GitHub & GitLab function"
#: ../extras/github-gitlab-integration.rst:11
msgid "The panels are optional. If you don't see them in the ticket sidebar, your administrator hasn't enabled the integration yet. Customers don't see the links either. Administrators can learn more in the :admin-docs:`GitHub </system/integrations/github.html>` and :admin-docs:`GitLab </system/integrations/gitlab.html>` integration pages."
msgstr ""

#: ../extras/github-gitlab-integration.rst:14
msgid "Use the |github| and |gitlab| tabs on the ticket sidebar for an overview of issues related to the ticket."
#: ../extras/github-gitlab-integration.rst:None
msgid "Sidebar with opened GitHub panel and linked issue."
msgstr ""

#: ../extras/github-gitlab-integration.rst:39
#: ../extras/github-gitlab-integration.rst:39
#: ../extras/github-gitlab-integration.rst:39
msgid "GitHub logo"
msgstr ""

#: ../extras/github-gitlab-integration.rst:43
#: ../extras/github-gitlab-integration.rst:43
#: ../extras/github-gitlab-integration.rst:43
msgid "GitLab logo"
msgstr ""

#: ../extras/github-gitlab-integration.rst:18
msgid "What Can It Do?"
#: ../extras/github-gitlab-integration.rst:22
msgid "View Linked Issues"
msgstr ""

#: ../extras/github-gitlab-integration.rst:24
msgid "View related issues"
msgstr ""

#: ../extras/github-gitlab-integration.rst:21
msgid "Use the |github| and |gitlab| tabs on the ticket sidebar to see linked issues, along with metadata like status (open/closed), assignee, labels, and more. Or, simply click the title to view the issue on GitHub / GitLab. A badge on the tab icon indicates how many issues are linked to this ticket."
msgid "Open the **GitHub** or **GitLab** tab in the ticket sidebar of a ticket that already has issues linked. Each entry starts with an icon for the issue state, followed by the issue number and title. Click the title to open the issue on GitHub or GitLab. Each entry also shows the issue's **Milestone**, **Assignees** and **Labels**. GitHub issues show a **Type** as well. A field appears only when the issue has one. The badge on the tab counts all linked issues, not only the open ones. Zammad reads the state when the panel loads and doesn't watch the issues, so no notification is sent when an issue changes. If the panel shows ``Loading failed.`` instead of the issues, ask your administrator to check the token."
msgstr ""

#: ../extras/github-gitlab-integration.rst:34
msgid "Link a new issue"
#: ../extras/github-gitlab-integration.rst:36
msgid "Link an Issue"
msgstr ""

#: ../extras/github-gitlab-integration.rst:27
msgid "At the top of the ticket sidebar, select *GitHub / GitLab > Link Issue*, then enter a valid issue URL. Please note that linking a new issue can be slow sometimes."
#: ../extras/github-gitlab-integration.rst:38
msgid "Select **Link issue** from the menu next to the panel title, then enter the URL of a single issue and confirm. Zammad accepts links like ``https://github.com/organization/repository/issues/42`` or ``https://git.example.com/group1/project1/-/issues/1``. While you create a ticket, you can link issues too. They are saved with the new ticket."
msgstr ""

#: ../extras/github-gitlab-integration.rst:0
msgid "Screencast showing how to list and add new issues to a ticket"
#: ../extras/github-gitlab-integration.rst:44
msgid "Zammad ignores a URL that is already linked to the ticket. It also rejects a URL it cannot resolve, usually because the issue doesn't exist or because the API token cannot read its repository or project. Ask your administrator to check the token in that case."
msgstr ""

#: ../extras/github-gitlab-integration.rst:37
msgid "Remove an issue"
#: ../extras/github-gitlab-integration.rst:50
msgid "Unlink an Issue"
msgstr ""

#: ../extras/github-gitlab-integration.rst:37
msgid "Click the ✕ button next to an issue title to unlink it."
#: ../extras/github-gitlab-integration.rst:52
msgid "Click the ``X`` button next to an issue title. Unlinking removes the reference from the ticket and leaves the issue untouched in GitHub or GitLab. Other tickets that link the same issue keep their own reference."
msgstr ""

#: ../extras/i-doit-track-company-property.rst:2
Expand Down
Loading