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

Updates Team and Members Blueprint examples for ADO. #1983

Merged
merged 18 commits into from
Feb 11, 2025

Conversation

shariff-6
Copy link
Contributor

Description

  • This update enhances the Team and Members Blueprint examples for Azure DevOps (ADO).

Added docs pages

  • None

Updated docs pages

  • Example Member Blueprint (/azure-devops/example-teams/_azuredevops_exporter_example_member_blueprint.mdx)
  • Example Team Blueprint (/azure-devops/example-teams/_azuredevops_exporter_example_team_blueprint.mdx)
  • Example Teams Port App Config (/azure-devops/example-teams/_azuredevops_exporter_example_teams_port_app_config.mdx)

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1983.d2ngvl90zqbob8.amplifyapp.com

- Added `team` relation to the `azureDevopsMember` blueprint to link members to teams.
- Removed `members` relation from `azureDevopsTeam` blueprint to simplify structure.
- Updated `azureDevopsTeamsPortAppConfig`:
  - Improved user mapping with new entity definition (`azureDevopsUser`).
  - Changed member identifiers to include team ID for uniqueness.
  - Introduced `team-with-members` entity for better member relations.
- Updated `examples.md` to reflect changes:
  - Added `azureDevopsUser` and `azureDevopsTeamWithMembers` blueprints.
  - Adjusted section title to include users.
- Added `members` relation to `azureDevopsTeam` blueprint.
- Removed redundant `azureDevopsTeamWithMembers` blueprint.
- Updated `azureDevopsMember` mappings to use `.user.mailAddress` and `.user.url`.
- Improved team-member relation mapping in `example_teams_port_app_config.mdx`.
- Removed references to `TeamWithMembersBlueprint` from documentation.
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.

please add docs about the new members change

Copy link
Member

@mk-armah mk-armah left a comment

Choose a reason for hiding this comment

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

LGTM

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.

approved with suggestion

## Mapping teams and members
After creating the blueprints and saving the integration configuration, you will see new entities in Port matching your teams alongside their members.

## Mapping teams and members (Deprecated)
Copy link
Member

Choose a reason for hiding this comment

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

add it a warning /tip and refer to the Mapping users and teams section

@hadar-co hadar-co merged commit 335774a into main Feb 11, 2025
2 checks passed
@hadar-co hadar-co deleted the PORT-12649-Sync-Members-Once-From-a-Team branch February 11, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants