Youtrack integration with embedded Hub with Teamcity, Gitlab

This post will talk about how to integrate Youtrack with the embedded Hub with Teamcity, Gitlab.



YouTrack is a commercial bug tracking system, project management software. YouTrack supports search queries, autocompletion, task set manipulation, setting a set of task attributes, creating custom workflows, and adopting a keyboard-first approach.



TeamCity is an intelligent continuous integration server.



GitLab is an open source web-based DevOps lifecycle tool that provides a code repository management system for Git with its own wiki, bug tracker, CI / CD pipeline, and more.





Integration requirements



All tools need to be resolved by DNS. If the tools do not resolve via DNS, then some of the functionality will not work for you.



,



Youtrack



yum install -y mc unzip
wget https://download-cf.jetbrains.com/charisma/youtrack-2020.3.1402.zip
unzip youtrack-2020.3.1402.zip 
cd youtrack-2020.3.1402/bin/
./youtrack.sh start


Teamcity



yum install -y unzip mc java-1.8.0-openjdk-devel
wget https://download-cf.jetbrains.com/teamcity/TeamCity-2020.1.2.tar.gz
tar zxvf TeamCity-2020.1.2.tar.gz 
cd TeamCity/bin
./runAll.sh start


YouTrack (embedded) Hub, Teamcity, Gitlab :



  • YouTrack c TeamCity — Build Server Integration
  • YouTrack Gitlab — VCS Integrations




YouTrack c TeamCity — Build Server Integration



Youtrack, Teamcity Gitlab.





Teamcity VCS, Gitlab.







YouTrack issue c P1-1.



: Issue YouTrack Teamcity, Issue Fixed commit.





Build Server Integration. Build Server YouTrack.





YouTrack c TeamCity . Main YouTrack project YouTrack. TeamCity project TeamCity. TeamCity build TeamCity, . Fixed in build Add build numbers to the set of values in a custom field. YouTrack issue.





The VCS user name does not match any user in YouTrack., VCS user name git user.name .



git log .



git log 
commit 34ea8e39320e668db4066aa98b425c9fa9f7f7ef (HEAD -> master, origin/master)
Author: Anton Patsev <user1@group1.com>
Date:   Wed Jul 29 11:45:23 2020 +0600

    text text1 #P1-1 Fixed this issue


name email .



4643208d, TeamCity Unknown (none of TeamCity users defined user1 username in their VCS username settings). TeamCity user1. TeamCity.





Unknown command: Fixed, , issue, .





user1 Developer project1.





, issue. , state Fixed, Fixed in Build TeamCity, issue.



VCS Integrations



VCS Integrations TeamCity.





Main YouTrack project , Gitlab, Repository URL URL , Personal access token api . Generate token Access Tokens User Settings .





api. scope? Youtrack Gitlab webhook.



Personal access token. .



Youtrack Gitlab webhook. projects1 -> Webhook Settings.



Youtrack Gitlab webhook.





webhook . : Admin -> Settings -> Network -> Outbound Requests -> Allow requests to the local network from hooks and services



, : Unable to save project. Error: Import url is blocked: Requests to the local network are not allowed



.





YouTrack issue VCS.




All Articles