Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34023

error in parsing comment on git commits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • youtrack-plugin
    • None

      when sending a hashtaged issue id inside a commit's comment, it parses the first id and then sends the rest of the comment string as the command, causing multiple issues:

      1. cannot send command comment to youtrack, since the comment is parsed as the command (even on new line) and thus returns an error.
      2. cannot send multiple commands since all commands are considered as a single command string and thus return an error.
      3. cannot update multiple issues since the other hashtaged ids are also parsed as the command string and thus return an error.

      I tested it with various formats, including those defined for teamcity in the documentation, and all resulted with the above error.
      The bottom line is that the only format I managed to successfully activate is to finish my comment with "#DO-1 fixed". anything else throws an error.

      this should be fixed to allow the above actions. if there is a working format I couldn't find, it should be explained in the documentation.

      Thanks,
      Itai

            erikzielke Erik Zielke
            itaisanders Itai Sanders
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: