![]() Promise removeWatcher(final URI watchersUri, final String username) * username user to remove from the watcher list You need to have permissions to do that (otherwise * Removes selected person from the watchers list for selected issue. Promise addWatcher(final URI watchersUri, final String username) * Adds selected person as a watcher for selected issue. Removing a vote from the issue without your vote causes the exception. * Removes your vote from the selected issue. Usually obtained by calling Issue.getVotesUri() * votesUri URI of votes resource for selected issue. ![]() Casting a vote on already votes issue by the caller, causes the exception. Promise transition(Issue issue, TransitionInput transitionInput) Promise transition(URI transitionsUri, TransitionInput transitionInput) * transitionInput data for this transition (fields modified, the comment, etc.) * Performs selected transition on selected issue. Promise > getTransitions(URI transitionsUri) * transitions about transitions available for the selected issue in its current state. Usually obtained by calling Issue.getTransitionsUri() * transitionsUri URI of transitions resource of selected issue. * Retrieves complete information (if the caller has permission) about transitions available for the selected issue in its current state. * detailed information about voters of selected issue * votesUri URI of voters resource for selected issue. * Retrieves complete information (if the caller has permission) about voters for selected issue. * detailed information about watchers watching selected issue. ![]() Usually obtained by calling Issue.getWatchers().getSelf() * watchersUri URI of watchers resource for selected issue. * Retrieves complete information (if the caller has permission) about watchers for selected issue. Promise deleteIssue(String issueKey, boolean deleteSubtasks) If false, and issue has subtasks, then it * deleteSubtasks Determines if subtask of issue should be also deleted. * subtasks and deleteSubtasks} is set to false, then issue won't be deleted. You can set deleteSubtasks} to delete issue with subtasks. Promise getIssue(String issueKey, Iterable expand) Currently CHANGELOG is the only supported expand that is not expanded by default. * Retrieves issue with selected issue key, with specified additional expandos. * issueKey issue key (like TST-1, or JRA-9) * Retrieves issue with selected issue key. Promise > createIssues(Collection issues) * BulkOperationResult with generated issueKey and errors for failed issues * issues populated with data to create new issue Promise > GetCreateIssueMetadataOptions options) * List of CimProject} describing projects, issue types and fields. Pass null if you don't want to set any option. You may use GetCreateIssueMetadataOptionsBuilder} to build them. * options optional request configuration like filters and expandos. * Retrieves CreateIssueMetadata with specified filters. * RestClientException in case of problems (connectivity, malformed messages, invalid argument, etc.) * issue populated with data to create new issue * The .client.api handling issue resources. * See the License for the specific language governing permissions and * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * distributed under the License is distributed on an "AS IS" BASIS, * Unless required by applicable law or agreed to in writing, software * You may obtain a copy of the License at ![]() * you may not use this file except in compliance with the License. * Licensed under the Apache License, Version 2.0 (the "License")
0 Comments
Leave a Reply. |