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

Uploaded Source

Built Distribution

ado_asana_sync-1.9.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ado_asana_sync-1.9.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ado_asana_sync-1.9.1.tar.gz
Algorithm Hash digest
SHA256 f0b9d222e0b6566886056d739f794087845337ed7b6c714431e106d0545153a8
MD5 36dfb4c17c0ee919b58eb5718f169f16
BLAKE2b-256 5dd44d3d429eb1ea179bb3bd9968bc75caaa0115b08d9ae0175f449d45adb7f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ado_asana_sync-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8753ab58bac43e8d06bfe33d21e44464802e741f55985f1ab75511b038b8cad6
MD5 8109ac649602d21850d99eada0ee2b83
BLAKE2b-256 a7bcc6ef8d74d537785fc327faefba62a5f8370d5f7779b3c637a805056f6f15

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