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.5.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

ado_asana_sync-1.5.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file ado_asana_sync-1.5.0.tar.gz.

File metadata

  • Download URL: ado_asana_sync-1.5.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for ado_asana_sync-1.5.0.tar.gz
Algorithm Hash digest
SHA256 0ba07e4f1fa4cf887bf82538be8bdc73196afd960429aea8f72fb617d9a2679f
MD5 3817c9511315604c5370fabb14964078
BLAKE2b-256 876eab79baaa953bd5d4c481bba993d83fb1493e684ab0d2c4e52dee2056a2f3

See more details on using hashes here.

File details

Details for the file ado_asana_sync-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ado_asana_sync-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69da2e2ba3d30fd8d3c26fb24e7628ff4755b6e51c4795306f3988cf656f6d1d
MD5 ce254d56f18131de75ff7c9d3c72454d
BLAKE2b-256 68281553dbe3ff1c4d7a6cb384b6159e7c0ba997d5cf94ef2285ee24681c95a6

See more details on using hashes here.

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