Relative Content

Tag Archive for azure-devops

Query to Return List of Items that DO NOT have child

I am trying to create a query for Overdue Work Items. We have a process to create a “Child” Link when a task becomes overdue. So I want to query for any items that are Overdue but the user HAS NOT yet created the “Child” Work Item. I cannot use link count because that number varies, We use Successor and Predecessor relationships as well so when I try to use work items and direct links it returns the direct links as well. I only want to see “Active” Work Items, that are overdue, that do not have a child.

Query to Return List of Items that DO NOT have child

I am trying to create a query for Overdue Work Items. We have a process to create a “Child” Link when a task becomes overdue. So I want to query for any items that are Overdue but the user HAS NOT yet created the “Child” Work Item. I cannot use link count because that number varies, We use Successor and Predecessor relationships as well so when I try to use work items and direct links it returns the direct links as well. I only want to see “Active” Work Items, that are overdue, that do not have a child.

Query to Return List of Items that DO NOT have child

I am trying to create a query for Overdue Work Items. We have a process to create a “Child” Link when a task becomes overdue. So I want to query for any items that are Overdue but the user HAS NOT yet created the “Child” Work Item. I cannot use link count because that number varies, We use Successor and Predecessor relationships as well so when I try to use work items and direct links it returns the direct links as well. I only want to see “Active” Work Items, that are overdue, that do not have a child.

Trying to make pipeline more flexible

In general, I have one pipeline (SourcePipeline) which triggers the another one (DependantPipeline), and two of them are in specific repository devops-med. Also, two of them are using pipeline definitions from other repository global-pipelines.

Mapped value determined by custom field not saved

I have created a custom field that has a pick list of 5 possible options. I have then added 5 different custom rules that set the value of the Size field based on the option selected for the custom field. I’m finding that Work Items that already had a value in the Size field prior to me creating the custom rules show with the correct value when I view the Work Item (so that’s good). However, when running a query, it will still show the original value the Size field had prior to the rules being added in the query results. When I then click on the Work Item in the list of query results it will update the value shown for the Size field to the value I have defined in the custom rules. So although the correct value is displayed when opening a Work Item, that value is not actually saved on the Work Item.

Updating Token “validTo” Date

I have created an application in Azure Portal that gives me an access token to the REST api of dev ops: https://vssps.dev.azure.com/$organization/_apis/tokens/pats?api-version=7.1-preview.1

Azure DevOps – Pull Request Statuses – Get

I am trying to get the status of the pull request with pull request ID using API’s. However Unable to get the statusID of the pull request to call the below API, Where can I find the statusID?

build validation and status check policy on branch for Python code

I am working on adding validations as part of a pull request in Azure DevOps. Unit test (for Python code using pytest) pipeline will run as part of the build validation on creation of the pull request and will publish the test results and the code coverage as build artifacts. I have also put status check policy as mandatory for code coverage.