Class WithIssueItemRequestBuilder
Builds and executes requests for operations under \projects{projectId}\issues{issueId}
public class WithIssueItemRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderWithIssueItemRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
WithIssueItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new WithIssueItemRequestBuilder and sets the default values.
public WithIssueItemRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
Parameters
pathParameters
Dictionary<string, object>Path parameters for the request
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
WithIssueItemRequestBuilder(string, IRequestAdapter)
Instantiates a new WithIssueItemRequestBuilder and sets the default values.
public WithIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
Parameters
rawUrl
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
Properties
Comments
The comments property
public CommentsRequestBuilder Comments { get; }
Property Value
Methods
GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Retrieves detailed information about a single issue. For general information about all the issues in a project, see GET issues </en/docs/acc/v1/reference/http/issues-issues-GET>
_.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public Task<GetIssueDefinition?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- ErrorResponseDefinition
When receiving a 400 status code
- ErrorResponseDefinition
When receiving a 403 status code
- ErrorResponseDefinition
When receiving a 404 status code
PatchAsync(UpdateIssueDefinition, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Updates an issue.To verify whether a user can update issues for a specific project, call GET users/me </en/docs/acc/v1/reference/http/me-GET>
.To verify which attributes the user can update, call GET issues/:id </en/docs/acc/v1/reference/http/issues-issuesId-GET>
and check the permittedAttributes
and permittedStatuses
lists.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public Task<GetIssueDefinition?> PatchAsync(UpdateIssueDefinition body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
body
UpdateIssueDefinitionThe request body
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- ErrorResponseDefinition
When receiving a 400 status code
- ErrorResponseDefinition
When receiving a 403 status code
- ErrorResponseDefinition
When receiving a 404 status code
ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Retrieves detailed information about a single issue. For general information about all the issues in a project, see GET issues </en/docs/acc/v1/reference/http/issues-issues-GET>
_.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
ToPatchRequestInformation(UpdateIssueDefinition, Action<RequestConfiguration<DefaultQueryParameters>>?)
Updates an issue.To verify whether a user can update issues for a specific project, call GET users/me </en/docs/acc/v1/reference/http/me-GET>
.To verify which attributes the user can update, call GET issues/:id </en/docs/acc/v1/reference/http/issues-issuesId-GET>
and check the permittedAttributes
and permittedStatuses
lists.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public RequestInformation ToPatchRequestInformation(UpdateIssueDefinition body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
body
UpdateIssueDefinitionThe request body
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
WithUrl(string)
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
public WithIssueItemRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.