{"id":33364,"date":"2019-10-31T21:52:11","date_gmt":"2019-10-31T18:52:11","guid":{"rendered":"https:\/\/prohoster.info\/blog\/integratsiya-jira-s-gitlab\/"},"modified":"2019-10-31T21:52:11","modified_gmt":"2019-10-31T18:52:11","slug":"integratsiya-jira-s-gitlab","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/integratsiya-jira-s-gitlab","title":{"rendered":"Jira integr\u00e1ci\u00f3 a GitLabbal","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<h3>C\u00e9l<\/h3>\n<p>\nA git commit mentions any task from Jira by name in the comment, after which two things happen:<\/p>\n<ul>\n<li> in GitLab, the task title turns into an active link to it in Jira<\/li>\n<\/ul>\n<p><\/p>\n<ul>\n<li> in Jira, a comment is added to the task with links to the commit and the user who made it, as well as the text of the mention itself <\/li>\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>Be\u00e1ll\u00edt\u00e1s<\/h3>\n<p><\/p>\n<ol>\n<li>We need a Jira user with write-level permissions. You can use an existing one, but keep in mind that all comments in Jira when mentioning tasks from git will be attributed to this user, so it\u2019s better to create a new one, call it, say, GitLab, and add it to Jira with write permissions to all your projects. <\/li>\n<li>We need a GitLab user with admin rights in each project we will connect. The integration is set up separately for each project. <\/li>\n<li> In GitLab, open the project, go to <i>Be\u00e1ll\u00edt\u00e1sok<\/i> -&gt; <i>Integrations<\/i>. Scroll down, and you will see <i>Project services<\/i> with a long list of services that can be connected.<br \/>\n<img decoding=\"async\" alt=\"Jira integr\u00e1ci\u00f3 a GitLabbal\" src=\"\/wp-content\/uploads\/2019\/05\/9d5c33a9372adcc87ebda2773fa55fc1.jpg\" style=\"display:block;margin: 0 auto;\" \/>\n<\/li>\n<li>Find Jira in this list, a form will appear<br \/>\n<img decoding=\"async\" alt=\"Jira integr\u00e1ci\u00f3 a GitLabbal\" src=\"\/wp-content\/uploads\/2019\/05\/8f29499989fa633999fd81dc1b7ce217.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<ul>\n<li> Check the box <i>Akt\u00edv<\/i>, to activate the link.<\/li>\n<\/ul>\n<ul>\n<li> As seen from the form, you can configure the desired behavior for commits and merge requests separately. <\/li>\n<\/ul>\n<ul>\n<li>Enter your company's <i>Web URL<\/i> a c\u00e9ged a Jir\u00e1ban, p\u00e9ld\u00e1ul &#8216;https:\/\/companyname.atlassian.net&#8217; <\/li>\n<\/ul>\n<ul>\n<li><i>Jira API url<\/i> \u2014 filled in if you have another instance of Jira; by default, the value will be used <i>Web URL<\/i>.<\/li>\n<\/ul>\n<ul>\n<li>Mez\u0151k <i>Username\/Email<\/i> \u00e9s <i>Password\/Token<\/i> are filled in according to whether you are using Jira Server or Jira Cloud. In the case of Jira Server, you enter the username and password of the user under whose name comments will be added. In the case of Jira Cloud, you enter the email and token, which can be obtained <noindex><a rel=\"nofollow\" href=\"https:\/\/id.atlassian.com\/manage\/api-tokens\">itt<\/a><\/noindex>. <\/li>\n<\/ul>\n<ul>\n<li>Mez\u0151 <i>Transition ID(s)<\/i>. If you want, say, to have the task automatically closed when mentioned, then in this field you need to specify the transition ID to the closed status. This ID can be obtained via the API:\n<pre><code class=\"xml\">https:\/\/companyname.atlassian.net\/rest\/api\/2\/issue\/ISSUENAME-123\/transitions <\/code><\/pre>\n<p>\n where ISSUENAME-123 is the name of some task in the required state. You will receive JSON with an array of transitions, from which you can take the necessary id. <\/li>\n<\/ul>\n<p>\nAs a result, in GitLab, Jira now has a green indicator: <i>Be\u00e1ll\u00edt\u00e1sok<\/i> -&gt; <i>Integrations<\/i> and a menu item will appear in the project that leads to the corresponding project in Jira:<\/p>\n<p><img decoding=\"async\" alt=\"Jira integr\u00e1ci\u00f3 a GitLabbal\" src=\"\/wp-content\/uploads\/2019\/05\/a2dc8118476ed2a5d801ec400feab070.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nWhen writing a comment to a commit (regardless of which tool we use for working with git), we can add the task titles in text form (without quotes or any special characters like @) <i>Jira<\/i>bugfix XPROJECT-123, XPROJECT-124<\/p>\n<p><img decoding=\"async\" alt=\"Jira integr\u00e1ci\u00f3 a GitLabbal\" src=\"\/wp-content\/uploads\/2019\/05\/cff44ee5c151e7df7957e63e4075db73.jpg\" style=\"display:block;margin: 0 auto;\" \/>\n<\/li>\n<\/ol>\n<p><\/p>\n<h3>Usage:<\/h3>\n<p>\nAmikor megjegyz\u00e9st \u00edrunk egy commit-hoz (nem sz\u00e1m\u00edt, hogy milyen eszk\u00f6zt haszn\u00e1lunk a git kezel\u00e9s\u00e9re), felvehetj\u00fck a feladatok nev\u00e9t sz\u00f6veges form\u00e1ban (id\u00e9z\u0151jelek vagy b\u00e1rmilyen speci\u00e1lis karakter, p\u00e9ld\u00e1ul @ n\u00e9lk\u00fcl).<\/p>\n<pre><code class=\"xml\">hibajav\u00edt\u00e1s XPROJECT-123, XPROJECT-124<\/code><\/pre>\n<p>\na megfelel\u0151 feladathoz egy megjegyz\u00e9s ker\u00fcl hozz\u00e1ad\u00e1sra:<\/p>\n<p><img decoding=\"async\" alt=\"Jira integr\u00e1ci\u00f3 a GitLabbal\" src=\"\/wp-content\/uploads\/2019\/05\/6d2f7e5a13b9e00e8b8ba242be99ba34.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u00e9s a GitLabban akt\u00edv hivatkoz\u00e1s jelenik meg:<\/p>\n<p><img decoding=\"async\" alt=\"Jira integr\u00e1ci\u00f3 a GitLabbal\" src=\"\/wp-content\/uploads\/2019\/05\/3a24cc8dcd948aa11488c571defeed1d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/451210\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0426\u0435\u043b\u044c \u041f\u0440\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u0432 git \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0437 Jira \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438: \u0432 GitLab \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043d\u0435\u0435 \u0432 Jira \u0432 Jira \u043a \u0437\u0430\u0434\u0430\u0447\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u043d\u0430 \u043a\u043e\u043c\u043c\u0438\u0442 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0435\u0433\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0432\u0448\u0435\u0433\u043e, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c \u0442\u0435\u043a\u0441\u0442 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u041d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":25083,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-33364","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0426\u0435\u043b\u044c \u041f\u0440\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u0432 git \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0437 Jira \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438: \u0432 GitLab \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043d\u0435\u0435 \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/integratsiya-jira-s-gitlab\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Jira \u0441 GitLab | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0426\u0435\u043b\u044c \u041f\u0440\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u0432 git \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0437 Jira \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438: \u0432 GitLab \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043d\u0435\u0435 \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/integratsiya-jira-s-gitlab\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:52:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:52:11+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Jira integr\u00e1ci\u00f3 GitLabbal | ProHoster","description":"C\u00e9l A Git commit sor\u00e1n eml\u00edts\u00fck meg a megjegyz\u00e9sben b\u00e1rmelyik Jira feladat nev\u00e9t, majd k\u00e9t dolog t\u00f6rt\u00e9nik: a GitLabban a feladat neve akt\u00edv hivatkoz\u00e1ss\u00e1 v\u00e1ltozik r\u00e1.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/integratsiya-jira-s-gitlab","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Jira \u0441 GitLab | ProHoster","og:description":"\u0426\u0435\u043b\u044c \u041f\u0440\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u0432 git \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0437 Jira \u043f\u043e \u0438\u043c\u0435\u043d\u0438, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438: \u0432 GitLab \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043d\u0435\u0435 \u0432.","og:url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/integratsiya-jira-s-gitlab","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:52:11+00:00","article:modified_time":"2019-10-31T18:52:11+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33364","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 14:56:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 11:17:01","updated":"2026-01-21 14:56:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/33364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=33364"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/33364\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/25083"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=33364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=33364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=33364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}