Skip to main content

Tool to sync work items from Azure DevOps to Asana

Project description

ado-asana-sync

Test and Lint Quality Gate Status Coverage

Release PyPI - Version

Open in Visual Studio Code

This project aims to synchronize work items between Azure DevOps (ADO) and Asana. It's currently in development and not ready for use. Breaking changes will occur as needed.

How to use

  • Get the latest container image from the Github Container Registry.
  • Configure the environment variables with the relevant values:
    • ADO_PAT - Your Personal Access Token for ADO to accesst the work items.
    • ADO_URL - The full URL of your Azure DevOps instance.
    • ASANA_TOKEN - Your Personal Access Token for Asana to access the work items.
    • ASANA_WORKSPACE_NAME - Name of the Asana workspace to sync with.
    • CLOSED_STATES - Comma separated list of states that will be considered closed.
    • THREAD_COUNT - Number of projects to sync in parallel. Must be a positive integer.
    • SLEEP_TIME - Duration in seconds to sleep between sync runs. Must be a positive integer.
    • SYNCED_TAG_NAME - Name of the tag in Asana to append to all synced items. Must be a valid Asana tag name.
  • Run the container with the configured environment variables.
  • The application will start syncing work items between ADO and Asana based on the configured settings.

Development

Commit message style

This repo uses Conventional Commits to ensure the build numbering is generated correctly

Manual testing

To test the application manually, you can use the following steps:

  1. Create new ADO work item and ensure it is synced to Asana.
  2. Rename Asana task and ensure it is reverted back to the ADO name.
  3. Rename ADO task and ensure it is synced to Asana.
  4. Remove Synced tag from item in Asana and ensure it is replaced.
  5. Delete synced tag from Asana workspace and from appdata.json file and ensure it is re-created and assigned to all synced tasks.
  6. Mark Asana task as complete and ensure it is re-opened.
  7. Mark ADO task as complete and ensure it is marked as complete in Asana.
  8. Re-open ADO task and ensure it is re-opened in Asana.

Reference

ADO

Asana

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ado_asana_sync-1.4.1.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

ado_asana_sync-1.4.1-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page