Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADO] Add work items to get issues, tasks, and epics #893

Merged

Conversation

phalbert
Copy link
Contributor

@phalbert phalbert commented Aug 9, 2024

Description

This PR introduces the functionality to retrieve issues, tasks, and epics from Azure DevOps (ADO) projects within the organization. The implementation involves a two-step process to efficiently fetch the required data:

Fetch Work Item IDs using WIQL:

A WIQL (Work Item Query Language) query is executed to retrieve the IDs of the work items (issues, tasks, and epics) that match the specified criteria. This step helps optimize data retrieval by fetching only the necessary IDs, avoiding unnecessary data transfer.

Fetch Detailed Work Item Data:

Using the obtained work item IDs, the API is called to fetch the complete details of each work item. Batch processing is employed to handle potential API limitations on the number of IDs that can be fetched in a single request.

Type of change

Please leave one option from the following and delete the rest:

  • New feature (non-breaking change which adds functionality)

Screenshots

Include screenshots from your environment showing how the resources of the integration will look.

Screenshot 2024-08-09 at 21 39 38 Screenshot 2024-08-09 at 21 40 36 Screenshot 2024-08-09 at 21 39 00

API Documentation

Provide links to the API documentation used for this integration.

@github-actions github-actions bot added the size/M label Aug 9, 2024
@phalbert phalbert requested a review from matan84 August 9, 2024 18:41
Copy link
Member

@matan84 matan84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's split the work items into separate blueprints ("Issue", "Epic", "Task"), and not have them in a single blueprint with an enum.

@phalbert phalbert requested a review from matan84 August 15, 2024 09:08
@phalbert phalbert requested a review from a team as a code owner August 20, 2024 10:54
@matan84 matan84 merged commit 8d64d72 into main Aug 21, 2024
15 checks passed
@matan84 matan84 deleted the PORT-9033-azure-dev-ops-integration-add-support-for-azure-boards branch August 21, 2024 14:31
@phalbert phalbert self-assigned this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants