Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-3480

Moderator is not set during review create

    XMLWordPrintable

Details

    Description

      >>>When creating new review via API we invoke:
      https://atlaseye.atlassian.com/rest-service/reviews-v1
      >>>with params (moderator is set:
      <?xml version="1.0" encoding="UTF-8"?>
      <createReview>
      <reviewData>
      <author>
      <userName>pmaruszak</userName>
      </author>
      <creator>
      <userName>pmaruszak</userName>
      </creator>
      <moderator>
      <userName>pmaruszak</userName>
      </moderator>
      <description />
      <name>test</name>
      <projectKey>CR-PL</projectKey>
      <allowReviewersToJoin>true</allowReviewersToJoin>
      </reviewData>
      <changesets>
      <repository>connector-intellij</repository>
      <changesetData>
      <id>59469</id>
      </changesetData>
      </changesets>
      </createReview>

      >>>and retrieve response from API:
      <?xml version="1.0" encoding="UTF-8"?>
      <reviewData>
      <allowReviewersToJoin>true</allowReviewersToJoin>
      <author>
      <displayName>Piotr Maruszak</displayName>
      <userName>pmaruszak</userName>
      </author>
      <createDate>2010-05-06T09:14:02.415-0500</createDate>
      <creator>
      <displayName>Piotr Maruszak</displayName>
      <userName>pmaruszak</userName>
      </creator>
      <description />
      <metricsVersion>3</metricsVersion>
      <name>test</name>
      <permaId>
      <id>CR-PL-138</id>
      </permaId>
      <projectKey>CR-PL</projectKey>
      <state>Draft</state>
      </reviewData>

      >>>MODERATOR is NOT SET

      This issue breaks IntelliJ connector review creation "workflow". Please investigate ASAP. Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmaruszak Piotr Maruszak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: