Rerun vcs integration

Hi

Youtrack missed a few vcs commands in git. We resolved the issue we had on gitlab but would like youtrack to rerun all all past commits to get commands. Can we do this and how?

1
4 comments
Official comment

Hi,

Unfortunately, no, it is not possible to process past commits. 

This is really bad. Sometimes you want to add it afterward. But what happens each year is: GitLab's Token expires, then the integration silently stops working, and no commits are linked during that period. When the token is renewed, it must be reconfigured separately for every single repository (!!!!). Worse, any commits created while the token was invalid are permanently lost from the ticket history and cannot be recovered retroactively.
 

0

Samuel This post and Anastasia's response are outdated; since version 2021.1, the GitLab Integration has an action “Import commits and open pull requests”, which should help in cases when some commits were lost due to the expired token or for other reasons.

1

Stanislav Dubin 

wow thanks! I didn't see that and it's exactly what we need.

What would be much better:

1. A button “import for all integrations”

2. Another button “Config Token for all integrations”

When you habe 100 integrations the doing this by hand (incl. jumping to the begin of the page each tim) this ist quite hard…

3. The import button doesn't show any error if the connection doesn't work (for example because the token is wrong).It behaves like it works in any case.

[EDIT]: I see issue 2) has been discussed here: https://youtrack.jetbrains.com/projects/JT/issues/JT-52211/Automate-VCS-integration-setup-with-multiple-repositories

0

Please sign in to leave a comment.