This package provides an Emacs interface to Azure DevOps boards. You can:
- View recent tickets (non-closed, last 90 days)
- Create new tickets
- Update existing tickets
All from the comfort of an Emacs buffer.
This library is in extremely early stages. It modifies data within your Azure DevOps instance, so please use it at your own risk.
- Place
azure-devops.el
in your load-path or use a package manager. - Add this to your Emacs config:
(use-package azure-devops
:if (and (boundp 'my/adoel-path) my/adoel-path)
:load-path my/adoel-path
:init
;; Provide values for your DevOps variables.
(setq azure-devops-username ""
azure-devops-organization-url ""
azure-devops-project-name ""
azure-devops-pat "")
:bind
("C-c d" . azure-devops-menu))
Make sure your Personal Access Token (PAT) has the appropriate scopes (e.g., Work Items: Read/Write).
Once installed and configured:
- Invoke the Hydra menu via:
- #+BEGIN_EXAMPLE M-x azure-devops-menu ;; or if you set a keybinding: C-c d
- Pick a command from the Hydra:
t
- View Recent Tickets
u
- Update Ticket
c
- Create Ticket
q
- Quit the menu
- Displays an Org buffer with tickets from the last 90 days (non-Closed).
- Organized into “Current Sprint” vs. “Backlog” sections.
- Prompts you for:
- Work Item Type (Enhancement or Bug)
- Title
- Description in a temporary Org buffer (
C-c C-c
to confirm) - Story Points
- Creates the new ticket in Azure DevOps and displays a success message with the ticket ID.
- Prompts you for a substring of the ticket’s Title.
- Displays matching results for you to pick from.
- Opens the chosen ticket in an Org buffer. You can edit fields, then press
C-c C-c
to PATCH (update) the ticket.
Feel free to open issues or pull requests to improve the code.
This project is MIT-licensed