Skip to content
Snippets Groups Projects
Commit d0d25ec8 authored by jurgenhaas's avatar jurgenhaas
Browse files

SV-110975 Adjust for latest YouTrack API

parent bb357eb4
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ for id in issues:
comment = log.replace(id, '') + "\n{code}" + diff + "\n{code}"
sys.stdout.write("Adding comment to issue %s ...\n" % id)
connection.executeCommand(id, '', comment=comment, group=group, run_as=author)
connection.executeCommand(id, 'comment', comment=comment, group=group, run_as=author)
except YouTrackException:
sys.stderr.write("Can not add comment for issue %s,\n" % id)
......
......@@ -140,6 +140,7 @@
tags:
- 'UpdateSVN'
- 'UpdateSVNRepos'
- 'UpdateHooks'
with_nested:
- ['post-commit', 'pre-commit']
- '{{ svn_repositories }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment