Jenkins integration is not updating issues
Hello everyone,
I need some help please - I am currently migrating to YouTrack, and can't get working SVN-changes attaching to tickets through Jenkins integration.
Here's what I've done (as per the following manual: https://www.jetbrains.com/help/youtrack/incloud/2021.4/jenkins-integration.html):
I need some help please - I am currently migrating to YouTrack, and can't get working SVN-changes attaching to tickets through Jenkins integration.
Here's what I've done (as per the following manual: https://www.jetbrains.com/help/youtrack/incloud/2021.4/jenkins-integration.html):
- I have a Jenkins Job which is checking changes in the SVN repository each minute and is being executed if a change was detected.
- I have created a YouTrack user in Jenkins and granted Global Administer rights to it (because with "Global Read" only, authorization from YouTrack was failing with the "403 Forbidden" error);
- Installed "Last Changes" plugin;
- Added my Jenkins server into YouTrack, checked "Test Connect", which returns success (after I have granted Global Administer rights).
- Added new VCS mapping to my YouTrack project with the following parameters:
- Main YouTrack project - my project;
- Additional projects - empty;
- Jenkins server - my server;
- Jenkins view - Android (a global view which I have added the Jenkins-project into);
- Jenkins project - my Jenkins project;
- VCS integration settings - see screenshots 1 and 2.
YouTrack has switched on the integration, is displaying the last sync time in the "Status" field, and is correctly showing "Last processed build".After that, I have made an SVN commit with the following text: "#DOCSRV-309 Ready for Testing", where "DOCSRV-309" is my issue id, "Ready for Testing" is desired new value for the issue "Status" field.
Jenkins has detected the commit (as usual) and assembled the build. You can see what Jenkins is displaying about SVN changes on screenshots 3 and 4 (sorry, my browser locale is Russian, so Jenkins is displaying everything in it, so I have embedded translation right in the screenshots).
YouTrack is detecting this build on the "Build Server Integration" page, but is doing absolutely nothing with the task - neither changing its status, nor populating the "Done in build" field, nor displaying anything on the "VCS changes" tab. The end.
Jenkins has detected the commit (as usual) and assembled the build. You can see what Jenkins is displaying about SVN changes on screenshots 3 and 4 (sorry, my browser locale is Russian, so Jenkins is displaying everything in it, so I have embedded translation right in the screenshots).
YouTrack is detecting this build on the "Build Server Integration" page, but is doing absolutely nothing with the task - neither changing its status, nor populating the "Done in build" field, nor displaying anything on the "VCS changes" tab. The end.
Please sign in to leave a comment.
Hello Victor,
Just to be on the same page is DOCSRV-309 resolved?
Hello Sergey,
No, it's In Progress.
Thank you for your reply. I suggest we proceed within a support ticket. Please submit it at jb.gg/ytsup while attaching the [logs](https://youtrack-support.jetbrains.com/hc/en-us/articles/206546369).
Hi, thank you. Submitted, with updated description to match the new setup.