microsoft / microsoft/azure-devops-extension-sdk

Unable to determine the board type in SDK.register instance context

Open
#59 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
159
Forks
53
PR merge metrics
No merged PRs in 30d

Description

In our project, we are adding one context menu item and respective actions against it. I just learned that, when we show this context menu(right click), the context which gets passed is actually different and there is no way to determine from where it has been invoked.
For example,
if we are in "Sprint Board" the context which I get has the workitem id as "id"
if we are in "Detailed View" (dialog view of any clicked item from Sprint board), we get workitem Id as "workItemId"
If we are in "Backlog View", we get workitem Id as array "workItemIds:[]"

Is there any we can determine the board/view, from where it is being called?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the SDK.register instance context and compare the context shapes described for Sprint Board, Detailed View, and Backlog View. Determine whether the SDK exposes or can consistently identify the originating board or view; done means the supported approach is documented or the required context information is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.