Web extension can`t get information selected iteration in Backlog Custom Tab

Aleksei Chernogor 1 Reputation point
2020-10-14T10:36:11.193+00:00

Hello!

I am developing web extension for Azure DevOps which add new Tab under path Board/Sprints (ms.vss-work-web.iteration-backlog-tabs).
My extension add Dictionary Tab. Origin tabs (Taskboard, Capacity and Backlogs) use Sprints Filter menu (Area 1 on fig 2) to update content to selected iteration. And I cant do the same in my custom tab. I have tried register SDK, but cant find proper event name:

// Register my extension to host  
  SDK.register(SDK.getContributionId(), () => {  
  
// I need get information about selected iteration  
          return ({  
            onSprintPickerIterationChanged: (a) => {  
              console.log(a)  
             },  
              
          });  
        });  

32323-image.png

32313-image.png

Extension JSON configuration:
{
"contributions": [
{
"id": "dictionary",
"type": "ms.vss-web.tab",
"description": "Редактирование справочника компетенций",
"targets": ["ms.vss-work-web.iteration-backlog-tabs"],
"properties": {
"uri": "dist/DictionaryTab/DictionaryTab.html",
"title": "Dictionary",
"name": "Dictionary Tab"
}
}
]
}

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,512 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,836 Reputation points Microsoft Employee
    2020-10-14T12:17:37.99+00:00

    Hello @Aleksei Chernogor ,

    You have tagged Azure Stack Hub for this question but it is related to Azure Devops (https://learn.microsoft.com/en-us/azure/devops/extend/get-started/node?view=azure-devops).

    Azure DevOps is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated Azure DevOps forum over here:
    https://developercommunity.visualstudio.com/spaces/21/index.html

    Hope this helps!

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.