YouTrack–GitLab CI/CD integration doesn’t post pipeline status comments (only commits appear)
Message:
Hi everyone,
I’m currently testing YouTrack integration with a self-hosted GitLab instance, and I’m stuck on one specific problem: YouTrack receives commits successfully, but pipeline status updates (success/failure) never appear as comments in the related issue.
Environment
- YouTrack: self-hosted (evaluation environment, no commercial license yet)
- GitLab: self-managed 16.11
- Integration type: VCS + GitLab CI/CD
- Webhook: automatically created by YouTrack
- Connection: via personal access token
- Network: both servers can reach each other over HTTPS
Configuration summary
GitLab token scopes:
api
read_api
read_repository
(Note: read_user is not available in self-hosted GitLab 16.11)
VCS integration settings (in YouTrack):
- Repository URL:
https://repo.example.com -
Branches tracked:
+:release* +:demo +:dev - Commit processing: enabled
- Check branch names for issue IDs: enabled
- Visibility: all users
GitLab CI/CD integration (in YouTrack):
- Job:
build-job-
Command:
comment "Build finished. Status: %status%. (Pipeline #%b)"
-
- Job:
test-job-
Command:
comment "Test finished. Status: %status%. (Pipeline #%b)"
-
- Data source: All jobs (not only successful)
- Webhook test: returns 200 OK
What works
✅ Commits with issue references (e.g., TG-1: fix integration) appear in the corresponding YouTrack issue.
✅ Commit data and links are visible in the VCS tab.
What doesn’t work
❌ No comments appear after a pipeline finishes (either passed or failed).
❌ The vcs.log file only shows Processing changes events — there’s no sign of CI/CD job processing.
❌ There’s a ~20-minute delay between a Git push and the commit showing up in YouTrack.
What I’ve verified
- The webhook is active and working (tested manually, returns
200 OK). - The integration uses the correct endpoint (
/api/vcsHooksReceiver/gitlab/...). - Token permissions cover both API and repository access.
- Branch names and commit format follow YouTrack conventions (
TG-1etc). - The GitLab CI/CD integration is created under the VCS integration, not as a separate app.
Questions
- Which webhook events and token scopes are required for YouTrack to receive and process GitLab pipeline results?
- Is there a way to confirm in logs that YouTrack actually receives job events?
- Are there any known issues with self-hosted GitLab 16.11 and YouTrack’s CI/CD integration?
Thanks in advance for any help — this integration is working partly, and I’d really like to get the pipeline status comments working properly.
Any insight or updated documentation link would be appreciated 🙏
Please sign in to leave a comment.