[Python] filtering reopened workitems in azure devops, using reporting revisions api

Discussão em 'Python' iniciado por Stack, Março 12, 2025.

  1. Stack

    Stack Membro Participativo

    I want to find the work items that were reopened (were closed before and now are opened again)

    I have used this api to get all the revisions of work items : Reporting Work Item Revisions - Read Reporting Revisions Get

    https://dev.azure.com/{organization}/{project}/_apis/wit/reporting/workitemrevisions?api-version=7.1

    Now, from these revisions, I want to find the instances when the state was changed, specifically when the state was set to closed. Then, I will check the next revisions to see if there has been a state change if yes then it indicated it was reopened

    Continue reading...

Compartilhe esta Página