{"id":300806,"date":"2020-03-27T03:00:32","date_gmt":"2020-03-27T03:00:32","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=300806"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=300806","title":{"rendered":"Timetracker \u0434\u043b\u044f Youtrack: DIY"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/493068\/\">\u0415\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <a href=\"https:\/\/github.com\/kleder\/timetracker\" rel=\"nofollow\">T-REC<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u0442\u0440\u044d\u043a\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f, \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 Youtrack, \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0435\u0433\u043e \u0432 \u0442\u0430\u0441\u043a\u0443. \u041d\u043e \u0430\u0432\u0442\u043e\u0440 \u0437\u0430\u0431\u0440\u043e\u0441\u0438\u043b \u0435\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u043f\u043b\u044e\u0441 \u0441\u0442\u0430\u0440\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438, \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430 (\u0442\u0443\u0442 \u0432\u0438\u0434\u0438\u043c\u043e \u0432\u0438\u043d\u043e\u0432\u0430\u0442 electron) \u0438 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c \u0441\u0442\u0430\u043b\u043e \u00ab\u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e\u00bb. \u0420\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439, \u0441 \u0442\u0435\u043c \u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u043b\u044e\u0441\u0430\u0445, \u0442\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f Honsu\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rs\/3f\/hi\/rs3fhi85xjqgpum910xbrykpzjy.jpeg\"><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 Youtrack <a href=\"https:\/\/www.jetbrains.com\/help\/youtrack\/standalone\/youtrack-rest-api-reference.html\" rel=\"nofollow\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a Youtrack \u0438\u0437 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<ol>\n<li>\u041b\u043e\u0433\u0438\u043d\u0438\u043c\u0441\u044f \u0432 YouTrack \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435<\/li>\n<li>\u0418\u0434\u0435\u043c \u0432 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u00ab<a href=\"http:\/\/example.youtrack.com\/users\/me\" rel=\"nofollow\">example.youtrack.com\/users\/me<\/a>\u00bb<\/li>\n<li>\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u0443\u043d\u043a\u0442 \u00abUpdate personal information and manage logins\u00bb<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u00abAuthentication\u00bb<\/li>\n<li>\u0416\u043c\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abNew token&#8230;\u00bb<\/li>\n<li>\u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u043e\u043b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u00abYoutrackTimerec\u00bb<\/li>\n<li>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043a \u043a\u0430\u043a\u0438\u043c \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u2014 \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u00abYouTrack\u00bb<\/li>\n<li>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abCreate Token\u00bb<\/li>\n<li>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0442\u043e\u043a\u0435\u043d, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437.<\/li>\n<\/ol>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0432 \u0432\u0438\u0434\u0435 \u0441url \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043d\u043e \u0438\u0445 \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043d\u0443\u0436\u043d\u0443\u044e \u0444\u043e\u0440\u043c\u0443.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0438 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0435\u0441\u0442\u044c REST API. <\/p>\n<p>  <code>curl -X GET &quot;https:\/\/example.myjetbrains.com\/api\/admin\/users\/me?fields=id,login,name,email&quot; <br \/>  -H &quot;Accept: application\/json&quot; <br \/>  -H &quot;Authorization: Bearer perm:token&quot; <br \/>  -H &quot;Cache-Control: no-cache&quot; <br \/>  -H &quot;Content-Type: application\/json&quot;<\/code><\/p>\n<p>  \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438 \u043a\u043b\u044e\u0447 \u0432\u0435\u0440\u043d\u044b\u0439, \u0432 \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u0438\u0434\u0435\u0442 json c \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0443\u0447\u0435\u0442\u043a\u0438<\/p>\n<pre><code class=\"json\">{&quot;login&quot;:&quot;s.user&quot;, &quot;email&quot;:&quot;s.user@example.team&quot;, &quot;name&quot;:&quot;S User&quot;, &quot;id&quot;:&quot;1-325&quot;, &quot;$type&quot;:&quot;Me&quot;}<\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/h4\/k2\/ev\/h4k2evsnpqtmwh_niwgv0e4izq0.png\" width=\"33%\"><\/p>\n<p>  \u041a\u0430\u043a\u043e\u0439 \u0436\u0435 Agile \u0431\u0435\u0437 \u0437\u0430\u0434\u0430\u0447? \u0423\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u043e, \u0437\u0430\u0434\u0430\u0447\u0438 \u0436\u0438\u0432\u0443\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u0432 \u0441\u043f\u0440\u0438\u043d\u0442\u0430\u0445, \u0430 \u0441\u043f\u0440\u0438\u043d\u0442\u044b \u0432 \u0431\u043e\u0440\u0434\u0430\u0445. \u041a\u0430\u043a \u0440\u0430\u0437 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0431\u043e\u0440\u0434\u044b \u0438 \u043d\u0430\u0434\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  <code>curl -X GET &quot;https:\/\/example.myjetbrains.com\/api\/agiles?fields=name,id,projects(id,shortName,name),columnSettings(columns(presentation))&amp;$top=100&quot; <br \/>  -H &quot;Accept: application\/json&quot; <br \/>  -H &quot;Authorization: Bearer perm:token&quot; <br \/>  -H &quot;Cache-Control: no-cache&quot; <br \/>  -H &quot;Content-Type: application\/json&quot;<\/code><\/p>\n<p>  \u041e\u0442\u0432\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0431\u043e\u0440\u0434\u043e\u0432 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<pre><code class=\"json\">[    {       &quot;projects&quot;:[{ &quot;shortName&quot;:&quot;OPS&quot;, &quot;name&quot;:&quot;Operations&quot;,                      &quot;id&quot;:&quot;04&quot;, &quot;$type&quot;:&quot;Project&quot; }],       &quot;columnSettings&quot;:{          &quot;columns&quot;:[             { &quot;presentation&quot;:&quot;Open&quot;, &quot;$type&quot;:&quot;AgileColumn&quot;},             { &quot;presentation&quot;:&quot;In Progress, Paused&quot;,&quot;$type&quot;:&quot;AgileColumn&quot; },             { &quot;presentation&quot;:&quot;Postponed&quot;, &quot;$type&quot;:&quot;AgileColumn&quot; },             { &quot;presentation&quot;:&quot;Closed, Resolved&quot;, &quot;$type&quot;:&quot;AgileColumn&quot; },             { &quot;presentation&quot;:&quot;Feedback, On Review&quot;, &quot;$type&quot;:&quot;AgileColumn&quot; }          ],          &quot;$type&quot;:&quot;ColumnSettings&quot;       },       &quot;name&quot;:&quot;Web&quot;,       &quot;id&quot;:&quot;15&quot;,       &quot;$type&quot;:&quot;Agile&quot;    } ]<\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rl\/re\/c1\/rlrec1s95qtgpdz96lgc3qe1j4y.png\" width=\"33%\"><\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u0442\u0430\u043f \u2014 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447 \u0438\u0437 \u0431\u043e\u0440\u0434\u044b:<\/p>\n<p>   \u2014 `Board Some Name:` \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u0430, \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c `:`<br \/>   \u2014 `{Current sprint}` \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0437 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0441\u043f\u0440\u0438\u043d\u0442\u0430<br \/>   \u2014 `#Unresolved` \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438<\/p>\n<p>  <code>curl -X GET &quot;https:\/\/example.myjetbrains.com\/rest\/issue?filter=for:me%20Board%20Some%20Name:%7BCurrent%20sprint%7D%20%23Unresolved%20&quot;<br \/>  -H &quot;Accept: application\/json&quot; <br \/>  -H &quot;Authorization: Bearer perm:token&quot; <br \/>  -H &quot;Cache-Control: no-cache&quot; <br \/>  -H &quot;Content-Type: application\/json&quot;<\/code><\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0438\u0434\u0443\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0442\u0430\u043c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043d\u043e \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0443\u0436\u043d\u044b \u043f\u043e\u043b\u044f ID, Summary \u2014 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, Spent Time \u2014 \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0438\u043d\u0443\u0442\u0430\u0445, \u0438 sprint \u2014 ID \u0441\u043f\u0440\u0438\u043d\u0442\u0430, \u0435\u0441\u043b\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441 \u043d\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<pre><code class=\"json\">{    &quot;issue&quot;:[       {          &quot;id&quot;:&quot;38-1234&quot;,           &quot;entityId&quot;:&quot;2-12345&quot;,          &quot;jiraId&quot;:null,          &quot;field&quot;:[             { &quot;name&quot;:&quot;projectShortName&quot;, &quot;value&quot;:&quot;38&quot;  },             { &quot;name&quot;:&quot;summary&quot;, &quot;value&quot;:&quot;[system] [tech] Huge hard task&quot; },             { &quot;name&quot;:&quot;created&quot;, &quot;value&quot;:&quot;1582624816973&quot; },             { &quot;name&quot;:&quot;Spent time&quot;, &quot;value&quot;:[ &quot;399&quot; ],  &quot;valueId&quot;:[&quot;6h 39m&quot;],&quot;color&quot;:null },             { &quot;name&quot;:&quot;sprint&quot;, &quot;value&quot;:[  { &quot;value&quot;:&quot;Value&quot;, &quot;id&quot;:&quot;ID&quot; } ] }          ],       }] }<\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/9j\/oh\/5b\/9joh5b1zfvgqizgoapmj_oj1opa.png\" width=\"33%\"><\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0437\u0430\u0434\u0430\u0447. \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438\u0434\u0435\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f, \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0430\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0438\u043d\u0443\u0442 (WorkItem), \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c<\/p>\n<p>  <code><\/p>\n<pre><code class=\"xml\">curl -i -X POST &quot;https:\/\/example.myjetbrains.com\/rest\/issue\/38-1234\/timetracking\/workitem&quot; <br>  -H &quot;Accept: application\/json&quot; <br>  -H &quot;Authorization: Bearer perm:token&quot; <br>  -H &quot;Cache-Control: no-cache&quot; <br>  -H &quot;Content-Type: application\/xml&quot; <br>  -d &lt;?xml version=\\&quot;1.0\\&quot; encoding=\\&quot;UTF-8\\&quot;?&gt;     &lt;workItem&gt;         &lt;date&gt;UnixEpocTime*1000&lt;\/date&gt;         &lt;duration&gt;10&lt;\/duration&gt;         &lt;description&gt;added by Honsu&lt;\/description&gt;         &lt;worktype&gt;            &lt;name&gt;Development&lt;\/name&gt;         &lt;\/worktype&gt;       &lt;\/workItem&gt;<\/code><\/pre>\n<p><\/code><br \/>  \u041f\u043e\u0447\u0435\u043c\u0443 XML? \u041f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 WorkItem \u0432 \u0432\u0438\u0434\u0435 json-\u043e\u0431\u044a\u0435\u043a\u0442\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mu\/b8\/5c\/mub85ccjnjgcxad3bll4pifo680.png\" width=\"33%\"><\/p>\n<p>  \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u043f\u043e \u0434\u043d\u044f\u043c:<\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u043b\u0435 Spent Time &gt; 0, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0432 \u0438\u0445 WorkItem \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p>  \u0417\u0430\u043f\u0440\u043e\u0441 \u0432\u0441\u0435\u0445 \u0437\u0430\u0434\u0430\u0447 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0441\u043f\u0440\u0438\u043d\u0442\u0430<\/p>\n<p>  <code>curl -X GET &quot;https:\/\/example.myjetbrains.com\/rest\/issue?filter=for:me%20Board%20Some%20Name:%7BCurrent%20sprint%7D&quot;<br \/>  -H &quot;Accept: application\/json&quot; <br \/>  -H &quot;Authorization: Bearer perm:token&quot; <br \/>  -H &quot;Cache-Control: no-cache&quot; <br \/>  -H &quot;Content-Type: application\/json&quot;<\/code><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0437\u0430\u0434\u0430\u0447, \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f<\/p>\n<p>  <code>curl -X GET &quot;https:\/\/example.myjetbrains.com\/rest\/issue\/38-1234\/timetracking\/workitem&quot;<br \/>  -H &quot;Accept: application\/json&quot; <br \/>  -H &quot;Authorization: Bearer perm:token&quot; <br \/>  -H &quot;Cache-Control: no-cache&quot; <br \/>  -H &quot;Content-Type: application\/json&quot;<\/code><\/p>\n<p>  \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0432 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0432\u0438\u0434\u0435<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/e9\/92\/on\/e992onn0uzg2o9yi_lzhwho3a54.png\" width=\"33%\"><\/p>\n<p>  \u0413\u0434\u0435 \u0436\u0438\u0432\u0435\u0442 Honsu: <a href=\"https:\/\/github.com\/dalerank\/nanogui\/tree\/master\/honsu\" rel=\"nofollow\">github.com\/dalerank\/nanogui\/tree\/master\/honsu<\/a><br \/>  \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438<\/p>\n<p>  \u0418\u043b\u0438 \u0442\u0443\u0442 \u0432 \u0432\u0438\u0434\u0435 exe (Windows): <a href=\"https:\/\/github.com\/dalerank\/nanogui\/releases\" rel=\"nofollow\">github.com\/dalerank\/nanogui\/releases<\/a><\/p>\n<p>  \u0414\u043b\u044f \u0447\u0435\u0433\u043e \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e: <\/p>\n<p>  + \u0432\u0435\u0441\u0442\u0438 \u0443\u0447\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<br \/>  + \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c rest api youtrack<br \/>  + \u043f\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043e\u043d\u043e\u0430\u043f\u043f, \u0431\u0435\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439<br \/>  + \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \ud83d\ude42<\/p>\n<p>  \u0427\u0442\u043e \u0443\u043c\u0435\u0435\u0442:<\/p>\n<p>  + \u0437\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0442\u0430\u0441\u043a\u0438 \u0438\u0437 youtrack<br \/>  + \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 boards<br \/>  + \u043e\u0442\u043c\u0435\u0447\u0430\u0442\u044c \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u0432\u0438\u0434\u0435 workItem \u0432 \u0437\u0430\u0434\u0430\u0447\u0435<br \/>  + \u043e\u0442\u0441\u0435\u043a\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u044f<br \/>  + \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0442\u044c \u043e\u0431 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 <br \/>  + \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0443\u0447\u0435\u0442\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u043e\u0439 \u043f\u043e \u0434\u043d\u044f\u043c<br \/>  + \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u0440\u043e\u043c\u0435 \u043a\u043b\u044e\u0447\u0430 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/p>\n<p>  \u0427\u0435\u0433\u043e \u043d\u0435 \u0443\u043c\u0435\u0435\u0442:<\/p>\n<p>  + \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432<br \/>  + \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u043e\u0442\u0440\u0435\u043a\u0430\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0438\u043d\u0435\u0442\u0430<br \/>  + \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u043d\u0430\u043f\u043f<br \/>  + \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0446\u0432\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0435\u043a<br \/>  + \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0440\u0430\u0431\u043e\u0442\u044b<br \/>  + \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0438\u0437 \u0440\u0435\u043b\u0438\u0437\u043e\u0432 \u0433\u0438\u0442\u0430<\/p>\n<p>  \u041d\u0430 \u0447\u0435\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e:<\/p>\n<p>  + CMake + \u0421++11 + OpenGL (\u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 gapi)<br \/>  + OpenSSL<br \/>  + cpp-httplib<br \/>  + \u0410\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u043e\u0434 Windows, \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (Ubuntu\\MacOS) \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0438 \u0434\u0430\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/493068\/\"> https:\/\/habr.com\/ru\/post\/493068\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/493068\/\">\u0415\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <a href=\"https:\/\/github.com\/kleder\/timetracker\" rel=\"nofollow\">T-REC<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u0442\u0440\u044d\u043a\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f, \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 Youtrack, \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0435\u0433\u043e \u0432 \u0442\u0430\u0441\u043a\u0443. \u041d\u043e \u0430\u0432\u0442\u043e\u0440 \u0437\u0430\u0431\u0440\u043e\u0441\u0438\u043b \u0435\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u043f\u043b\u044e\u0441 \u0441\u0442\u0430\u0440\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438, \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430 (\u0442\u0443\u0442 \u0432\u0438\u0434\u0438\u043c\u043e \u0432\u0438\u043d\u043e\u0432\u0430\u0442 electron) \u0438 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c \u0441\u0442\u0430\u043b\u043e \u00ab\u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e\u00bb. \u0420\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439, \u0441 \u0442\u0435\u043c \u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u043b\u044e\u0441\u0430\u0445, \u0442\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f Honsu\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rs\/3f\/hi\/rs3fhi85xjqgpum910xbrykpzjy.jpeg\">  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-300806","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=300806"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300806\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}