Bewerken

Delen via


GitPullRequestCommentThreadContext interface

Comment thread context contains details about what diffs were being viewed at the time of thread creation and whether or not the thread has been tracked from that original diff.

Properties

changeTrackingId

Used to track a comment across iterations. This value can be found by looking at the iteration's changes list. Must be set for pull requests with iteration support. Otherwise, it's not required for 'legacy' pull requests.

iterationContext

The iteration context being viewed when the thread was created.

trackingCriteria

The criteria used to track this thread. If this property is filled out when the thread is returned, then the thread has been tracked from its original location using the given criteria.

Property Details

changeTrackingId

Used to track a comment across iterations. This value can be found by looking at the iteration's changes list. Must be set for pull requests with iteration support. Otherwise, it's not required for 'legacy' pull requests.

changeTrackingId: number

Property Value

number

iterationContext

The iteration context being viewed when the thread was created.

iterationContext: CommentIterationContext

Property Value

trackingCriteria

The criteria used to track this thread. If this property is filled out when the thread is returned, then the thread has been tracked from its original location using the given criteria.

trackingCriteria: CommentTrackingCriteria

Property Value