hertore.blogg.se

Youtrack integration
Youtrack integration






youtrack integration

youtrack integration

This operation is only available to users with Low-level Admin Read and Low-level Admin Write permissions. For security, use this option only when both YouTrack and your GitLab server run on a private computer network. If the certificate for your server is self-signed, you need to import the certificate and public key to establish a secure connection. You should be able to connect to the server without importing its SSL certificate. If your GitLab server has a valid certificate that is signed by a well-known certificate authority (CA), the JVM vendor may have already added the root (CA) certificate to the certificate store. If you're integrating with a GitLab CE or GitLab EE installation and want to establish a secure (HTTPS) connection with the server, you may need to import the SSL certificate for your GitLab server into YouTrack. You can either use an account that has at least Master or Owner access level in the project or a GitLab administrator account. This is the user account whose private token is used for authentication. The account that you use to connect to GitLab has access to the GitLab project that you want to manage with this integration. Specifically, you need to make sure that your network doesn't block connections between your VCS server and YouTrack. YouTrack is accessible to inbound connections. For more information, see GitLab Integration. As a project administrator, you can set up this integration on a per-project basis.Īn administrator can enable and manage the GitHub integration for any project in YouTrack. When you enable and configure the GitHub integration, you define mappings between a YouTrack project and a GitHub repository. For more information, see Link Issues in VCS Commits. For details, see Pull Requests.Īdd links to YouTrack issues in commit messages or branch names. For more information, see Commits.ĭisplay the status of pull (merge) requests directly in the activity stream of any issue that is referenced in the title or description of the pull request. Track commits that are related to specific issues in the activity stream for each issue. For more information, see Apply Commands in VCS Commits. For the mrc-ide org it will be most appropriate to only activate individual repositories.Follow the instructions on this page to integrate your project with VCS repositories that are hosted on, self-hosted GitLab Community Edition (CE), or self-hosted GitLab Enterprise Edition (EE) server.Ī GitLab integration enables the following features in YouTrack:Īpply commands to YouTrack issues in commit messages. The webhook can be added to a whole organisation or to a repository. buildkite/build.sh builds and pushes the docker image buildkite/test.sh runs tests in a docker container

YOUTRACK INTEGRATION INSTALL

pip3 install -r requirements-dev.txt -user.

youtrack integration

run -use-vault to first resolve secrets before running the app

  • if already running, remove the container: docker rm -f youtrack-integration.
  • We currently have this deployed on .ac.uk (see montagu-machine). The app runs inside a docker container and is mapped to port 4567 on the host machine. If a config value is provided in the format "VAULT:path:key" in will be resolved by looking up the secret from vault.
  • a dictionary from GitHub logins to YouTrack usernames.
  • a secret token used by GitHub to secure the webhook: see.
  • assigns the ticket back to the PR owner.
  • If the event payload action field is submitted and review is not "approved":.
  • sets the ticket state to "Ready to deploy".
  • If the event payload action field is closed and pull_request is true:.
  • comments on the ticket with the url of the PR.
  • assigns the ticket to the first listed reviewer on the PR.
  • If the event payload action field is review_requested:.
  • youtrack integration

    YouTrack tickets and pull requests are associated by git branch name. This Flask app exposes a single endpoint /pull-request/ to be used as a GitHub webhook for








    Youtrack integration