backstage / community-plugins

Community plugins for Backstage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ Azure DevOps Plugin: Work Items API

fp-dewise opened this issue Β· comments

Plugin Name

azure-devops

πŸ”– Feature description

Additional API that handles fetching of work items across different projects/organizations.

🎀 Context

We are about to contribute a new community plugin for a product that we're developing in our company and this involves fetching of work items in Azure DevOps.

Ours is a time registration plugin and we call it MeeWee.
Example:

  1. User A logs his worked hours for a project in MeeWee.
  2. User A adds his task for the project with a description.
  3. MeeWee then displays the work items from Azure DevOps that are under his name in a dropdown/autocomplete textbox for ease of selection.

✌️ Possible Implementation

MeeWee plugin (frontend) calls the Azure DevOps plugin (backend) to fetch the work items of the end-user.

Note:
Our team is willing to do the work of adding the needed functionalities.

πŸ‘€ Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Hi @fp-dewise, thanks for logging this issue. I'm the initial author of this plugin and the lead maintainer. Unfortunately this is not something that we would accept in the Azure DevOps plugin at this time. There are a few reasons:

  1. Adding just a backend API with no clear usage is hard to own and maintain. This can create unintended breaking changes and many support questions here and on Discord.
  2. Work Item usage varies across Organizations. This makes it hard to provide a good UX/DX for Work Items. This would also lead to more support needed. There was a previous request on this topic here that covers a lot of this: #393

If you wish to build your own backend to handle this as part of your plugin that would be totally fine or if you wanted to contribute a dedicated Azure DevOps Work Item plugin with backend and frontend that also would be great. πŸ‘

Hey @awanlin appreciate your prompt response! What you just said makes sense to me.
Our team will consider these thoughts and probably come up with a solution, perhaps a dedicated plugin for ADO work items like what you just mentioned.

You're welcome @fp-lego, there's a wealth of information in #393 that could help build this as a dedicated Work Item plugin.