Package org.azd.interfaces
Interface WorkItemTrackingDetails
- All Known Implementing Classes:
WorkItemTrackingApi
public interface WorkItemTrackingDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddHyperLinks
(int workItemId, Map<String, String> hyperlinksMap) addWorkItemAttachment
(int workItemId, Map<String, String> fieldsToUpdate) createAttachment
(String fileName, AttachmentUploadType uploadType, String teamAreaPath, InputStream contentStream) createAttachment
(String fileName, AttachmentUploadType uploadType, String teamAreaPath, String contents) createQuery
(String query, QueryHierarchyItem queryHierarchyItem) createWorkItem
(String workItemType, String title, String description, Map<String, Object> additionalFields) createWorkItem
(String workItemType, WorkItemOperation operation, String title) createWorkItem
(String workItemType, WorkItemOperation operation, String title, String description, String[] tags) createWorkItemField
(WorkItemField workItemField) deleteQuery
(String query) deleteWorkItem
(int id) deleteWorkItem
(int id, boolean destroy) deleteWorkItemField
(String fieldNameOrRefName) getAttachment
(String id, String fileName) getAttachmentAsZip
(String id, String fileName, boolean download) getAttachmentContent
(String id, String fileName, boolean download) getDeletedWorkItemsFromRecycleBin
(int[] ids) getQueries
(int depth, QueryExpand expand, boolean includeDeleted) getQuery
(String query, int depth, QueryExpand expand, boolean includeDeleted, boolean useIsoDateFormat) getQueryBatches
(QueryErrorPolicy errorPolicy, QueryExpand expand, String[] ids) getWorkItem
(int id) getWorkItem
(int id, WorkItemExpand expand) getWorkItem
(int id, WorkItemExpand expand, String asOf) getWorkItem
(int id, WorkItemExpand expand, String[] fields) getWorkItem
(int id, WorkItemExpand expand, String[] fields, String asOf) getWorkItemField
(String fieldNameOrRefName) getWorkItemFields
(GetFieldsExpand expand) getWorkItemFromRecycleBin
(int id) getWorkItemRevision
(int workItemId, int revisionNumber) getWorkItemRevision
(int workItemId, int revisionNumber, WorkItemExpand expand) getWorkItemRevisions
(int workItemId) getWorkItemRevisions
(int workItemId, WorkItemExpand expand) getWorkItemRevisions
(int workItemId, WorkItemExpand expand, int top, int skip) getWorkItems
(int[] ids) getWorkItems
(int[] ids, WorkItemExpand expand) getWorkItems
(int[] ids, WorkItemExpand expand, String asOf) getWorkItems
(int[] ids, WorkItemExpand expand, String[] fields) getWorkItems
(int[] ids, WorkItemExpand expand, String[] fields, String asOf, WorkItemErrorPolicy errorPolicy) getWorkItemType
(String workItemTypeName) migrateProjectProcess
(String processId) queryByWiql
(String team, String query) queryByWiql
(String team, String query, int top, boolean timePrecision) removeHyperLinks
(int workItemId, List<String> urls) removeWorkItemAttachment
(int workItemId, List<String> attachmentUrl) removeWorkItemFromRecycleBin
(int id) restoreWorkItemFromRecycleBin
(int id) searchQuery
(String filter) searchQuery
(String filter, QueryExpand expand, boolean includeDeleted, int top) updateWorkItem
(int workItemId, Map<String, Object> fieldsToUpdate) updateWorkItem
(int workItemId, Map<String, Object> fieldsToUpdate, WorkItemOperation operation) updateWorkItem
(int workItemId, WorkItemExpand expand, boolean bypassRules, boolean suppressNotifications, boolean validateOnly, Map<String, Object> fieldsToUpdate) updateWorkItem
(int workItemId, WorkItemExpand expand, boolean bypassRules, boolean suppressNotifications, boolean validateOnly, Map<String, Object> fieldsToUpdate, WorkItemOperation operation) updateWorkItemField
(String fieldNameOrRefName, boolean isDeleted)
-
Method Details
-
createWorkItem
WorkItem createWorkItem(String workItemType, WorkItemOperation operation, String title) throws AzDException - Throws:
AzDException
-
createWorkItem
WorkItem createWorkItem(String workItemType, WorkItemOperation operation, String title, String description, String[] tags) throws AzDException - Throws:
AzDException
-
createWorkItem
WorkItem createWorkItem(String workItemType, String title, String description, Map<String, Object> additionalFields) throws AzDException- Throws:
AzDException
-
deleteWorkItem
- Throws:
AzDException
-
deleteWorkItem
- Throws:
AzDException
-
getWorkItem
- Throws:
AzDException
-
getWorkItem
- Throws:
AzDException
-
getWorkItem
- Throws:
AzDException
-
getWorkItem
- Throws:
AzDException
-
getWorkItem
WorkItem getWorkItem(int id, WorkItemExpand expand, String[] fields, String asOf) throws AzDException - Throws:
AzDException
-
getWorkItems
- Throws:
AzDException
-
getWorkItems
- Throws:
AzDException
-
getWorkItems
- Throws:
AzDException
-
getWorkItems
- Throws:
AzDException
-
getWorkItems
WorkItemList getWorkItems(int[] ids, WorkItemExpand expand, String[] fields, String asOf, WorkItemErrorPolicy errorPolicy) throws AzDException - Throws:
AzDException
-
getWorkItemRevisions
- Throws:
AzDException
-
getWorkItemRevisions
- Throws:
AzDException
-
getWorkItemRevisions
WorkItemList getWorkItemRevisions(int workItemId, WorkItemExpand expand, int top, int skip) throws AzDException - Throws:
AzDException
-
getWorkItemRevision
- Throws:
AzDException
-
getWorkItemRevision
WorkItem getWorkItemRevision(int workItemId, int revisionNumber, WorkItemExpand expand) throws AzDException - Throws:
AzDException
-
queryByWiql
- Throws:
AzDException
-
queryByWiql
WorkItemQueryResult queryByWiql(String team, String query, int top, boolean timePrecision) throws AzDException - Throws:
AzDException
-
removeWorkItemFromRecycleBin
- Throws:
AzDException
-
getWorkItemFromRecycleBin
- Throws:
AzDException
-
getDeletedWorkItemsFromRecycleBin
- Throws:
AzDException
-
getDeletedWorkItemsFromRecycleBin
- Throws:
AzDException
-
restoreWorkItemFromRecycleBin
- Throws:
AzDException
-
updateWorkItem
- Throws:
AzDException
-
updateWorkItem
WorkItem updateWorkItem(int workItemId, Map<String, Object> fieldsToUpdate, WorkItemOperation operation) throws AzDException- Throws:
AzDException
-
updateWorkItem
WorkItem updateWorkItem(int workItemId, WorkItemExpand expand, boolean bypassRules, boolean suppressNotifications, boolean validateOnly, Map<String, Object> fieldsToUpdate) throws AzDException- Throws:
AzDException
-
updateWorkItem
WorkItem updateWorkItem(int workItemId, WorkItemExpand expand, boolean bypassRules, boolean suppressNotifications, boolean validateOnly, Map<String, Object> fieldsToUpdate, WorkItemOperation operation) throws AzDException- Throws:
AzDException
-
addHyperLinks
- Throws:
AzDException
-
removeHyperLinks
- Throws:
AzDException
-
getWorkItemTypes
- Throws:
AzDException
-
getWorkItemType
- Throws:
AzDException
-
createAttachment
AttachmentReference createAttachment(String fileName, AttachmentUploadType uploadType, String teamAreaPath, String contents) throws AzDException - Throws:
AzDException
-
getAttachment
- Throws:
AzDException
-
createAttachment
AttachmentReference createAttachment(String fileName, AttachmentUploadType uploadType, String teamAreaPath, InputStream contentStream) throws AzDException - Throws:
AzDException
-
getAttachmentContent
- Throws:
AzDException
-
getAttachmentAsZip
- Throws:
AzDException
-
addWorkItemAttachment
WorkItem addWorkItemAttachment(int workItemId, Map<String, String> fieldsToUpdate) throws AzDException- Throws:
AzDException
-
removeWorkItemAttachment
- Throws:
AzDException
-
getMyWorkRecentActivity
- Throws:
AzDException
-
getWorkItemFields
- Throws:
AzDException
-
getWorkItemFields
- Throws:
AzDException
-
getWorkItemField
- Throws:
AzDException
-
createWorkItemField
- Throws:
AzDException
-
deleteWorkItemField
- Throws:
AzDException
-
updateWorkItemField
- Throws:
AzDException
-
migrateProjectProcess
- Throws:
AzDException
-
createQuery
QueryHierarchyItem createQuery(String query, QueryHierarchyItem queryHierarchyItem) throws AzDException - Throws:
AzDException
-
getQueries
- Throws:
AzDException
-
getQueries
QueryHierarchyItems getQueries(int depth, QueryExpand expand, boolean includeDeleted) throws AzDException - Throws:
AzDException
-
getQuery
- Throws:
AzDException
-
getQuery
QueryHierarchyItem getQuery(String query, int depth, QueryExpand expand, boolean includeDeleted, boolean useIsoDateFormat) throws AzDException - Throws:
AzDException
-
deleteQuery
- Throws:
AzDException
-
getQueryBatches
QueryHierarchyItems getQueryBatches(QueryErrorPolicy errorPolicy, QueryExpand expand, String[] ids) throws AzDException - Throws:
AzDException
-
searchQuery
- Throws:
AzDException
-
searchQuery
QueryHierarchyItemsResult searchQuery(String filter, QueryExpand expand, boolean includeDeleted, int top) throws AzDException - Throws:
AzDException
-