Tags:
not added yet
Table of Contents
Discovering the project structureThis page describes how is it possible to query all information to understand the configuration of a project. Project informationGetting the list of available projectsGET /v3/projects endpoint will return a list of project references which are accessible by the user. Response example: [ { "id": 1, "name": "Intland Software's Scrum Template", "type": "ProjectReference" }, ... ] Getting detailed information about a specific projectGET /v3/projects/{projectId} will return the details of a project. Response example: { "id": 1, "name": "Intland Software's Scrum Template", "description": "Agile-Scrum Project Template", "descriptionFormat": "Wiki", "version": 1, "keyName": "ASCRUMT", "closed": false, "deleted": false, "template": true, "createdAt": "2020-08-04T10:52:45.639", "createdBy": { "id": 1, "name": "bond", "type": "UserReference" } } Searching projects by given criteriaPOST /v3/projects/search will return all project which are met a certain criteria. This can be useful in case of when our project deployment feature is used, as the project id can change during such deployments. Request body example: { "keyName": "ASCRUMT" } Response example: { "page": 1, "pageSize": 1, "total": 1, "projects": [ { "id": 25, "name": "Intland Software's Scrum Template", "description": "Agile-Scrum Project Template", "descriptionFormat": "Wiki", "version": 1, "keyName": "ASCRUMT", "closed": false, "deleted": false, "template": true, "createdAt": "2020-08-04T10:52:45.639", "createdBy": { "id": 1, "name": "bond", "type": "UserReference" } } ] } Tracker informationGetting the list of trackers in a specific projectGET /v3/projects/{projectId}/trackers will return a list of tracker references which are contained by a specific project. Response example: [ { "id": 4304, "name": "Releases", "type": "TrackerReference" }, { "id": 4305, "name": "User Stories", "type": "TrackerReference" }, { "id": 4306, "name": "Epics", "type": "TrackerReference" }, ... ] Getting detailed information about a specific trackerGET /v3/trackers/{trackerId} will return detailed information about a specific tracker. Response example: { "id": 4304, "name": "Releases", "descriptionFormat": "PlainText", "keyName": "RELEASE", "version": 1, "createdAt": "2020-08-04T10:53:47.281", "createdBy": { "id": 1, "name": "bond", "type": "UserReference" }, "type": { "id": 103, "name": "Release", "type": "TrackerTypeReference" }, "deleted": false, "hidden": false, "usingWorkflow": true, "onlyWorkflowCanCreateNewReferringItem": false, "usingQuickTransitions": false, "defaultShowAncestorItems": false, "defaultShowDescendantItems": false, "project": { "id": 25, "name": "Intland Software's Scrum Template", "type": "ProjectReference" }, "availableAsTemplate": false } Searching for a specific tracker typeFor first we need to use the GET /v3/trackers/types endpoint to find out what kind of trackers are defined in the system. Response example: [ { "id": 1, "name": "Issue", "type": "TrackerTypeReference" }, { "id": 2, "name": "Bug", "type": "TrackerTypeReference" }, { "id": 3, "name": "Change Request", "type": "TrackerTypeReference" }, ... { "id": 103, "name": "Release", "type": "TrackerTypeReference" }, ... ] Using the proper TrackerTypeReference we can call the POST /v3/projects/{projectId}/trackers/search endpoint to retrieve only the tracker of a specific type: Request body example: { "types": [ { "id": 2, "name": "Bug", "type": "TrackerTypeReference" } ] } Response example: { "page": 1, "pageSize": 1, "total": 1, "trackers": [ { "id": 4307, "name": "Bugs", "description": "Errors, flaws, faults in the software product", "descriptionFormat": "Wiki", "keyName": "BUG", "version": 1, "createdAt": "2020-08-04T10:53:47.281", "createdBy": { "id": 1, "name": "bond", "type": "UserReference" }, "type": { "id": 2, "name": "Bug", "type": "TrackerTypeReference" }, "deleted": false, "hidden": false, "usingWorkflow": true, "onlyWorkflowCanCreateNewReferringItem": false, "usingQuickTransitions": false, "defaultShowAncestorItems": false, "defaultShowDescendantItems": false, "project": { "id": 25, "name": "Intland Software's Scrum Template", "type": "ProjectReference" }, "availableAsTemplate": false } ] } Tracker field informationGetting the fields of a trackerGET /v3/trackers/{trackerId}/fields endpoint will return references of the configured fields in a tracker. Response example: [ { "id": 0, "name": "ID", "type": "FieldReference", "trackerId": 4307 }, { "id": 1, "name": "Tracker", "type": "FieldReference", "trackerId": 4307 }, { "id": 2, "name": "Priority", "type": "FieldReference", "trackerId": 4307 }, { "id": 3, "name": "Name", "type": "FieldReference", "trackerId": 4307 }, ... ] Getting detailed information about a field in a specific trackerGET /v3/trackers/{trackerId}/fields/{fieldId} will return detailed information about a specific field. Response example: { "id": 14, "name": "Severity", "description": "VoCA (Voice of Customer Audit)", "type": "OptionChoiceField", "hidden": false, "valueModel": "ChoiceFieldValue<ChoiceOptionReference>", "mandatoryInStatuses": [ { "id": 0, "name": "Unset", "type": "ChoiceOptionReference" }, { "id": 3, "name": "New / Unassigned", "type": "ChoiceOptionReference" }, { "id": 5, "name": "In Verification", "type": "ChoiceOptionReference" }, { "id": 7, "name": "Closed", "type": "ChoiceOptionReference" }, { "id": 8, "name": "Open In Domain", "type": "ChoiceOptionReference" } ], "multipleValues": false, "options": [ { "id": 0, "name": "Unset", "type": "ChoiceOptionReference" }, { "id": 1, "name": "VoCA Prio 1", "type": "ChoiceOptionReference" }, { "id": 2, "name": "VoCA Prio 2", "type": "ChoiceOptionReference" }, { "id": 7, "name": "Not Applicable", "type": "ChoiceOptionReference" } ], "trackerItemField": "severities", "referenceType": "ChoiceOptionReference" },
idId of the field. It can be used to identify a field for example for value modifications. nameName of the field. descriptionDescription of the field. typehiddenIndicator if the field is hidden. valueModelThe name of the model which needs to be provided in case of value modifications. mandatoryInStatusesList of Status options where the field value is mandatory to be set in a tracker item. multipleValuesIndicator if multiple values are allowed for a choice field. optionsList of options for a choice option field. trackerItemFieldIn case that the field is built-in (which means that it's common across all trackers) this property tells where in the TrackerItem model can it be set. referenceTypeFor choice fields this property tells which type of references do they accept. For Example:
Getting permission settings of a tracker fieldGET /v3/trackers/{trackerId}/fields/{fieldId}/permissions will return the status/role/permission matrix of a specific field. UI representation:
Response example: [ { "status": { "id": 0, "name": "Unset", "type": "ChoiceOptionReference" }, "permissions": [ { "role": { "id": 1, "name": "Project Admin", "type": "RoleReference" }, "field": null, "project": null, "accessLevel": "READ" }, { "role": { "id": 2, "name": "Developer", "type": "RoleReference" }, "field": null, "project": null, "accessLevel": "READ" }, ... ] }, { "status": { "id": 1, "name": "New", "type": "ChoiceOptionReference" }, "permissions": [ { "role": { "id": 1, "name": "Project Admin", "type": "RoleReference" }, "field": null, "project": null, "accessLevel": "WRITE" }, { "role": { "id": 2, "name": "Developer", "type": "RoleReference" }, "field": null, "project": null, "accessLevel": "WRITE" }, ... }, { "status": { "id": 2, "name": "Verified", "type": "ChoiceOptionReference" }, "permissions": [ ... ] }, { "status": { "id": 3, "name": "In progress", "type": "ChoiceOptionReference" }, "permissions": [ ... ] }, ... ] |
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server for the purpose of improving the Codebeamer user experience.