figueiredorui / 1-click-child-links

Add Child-Links from predefined templates with a single click.
MIT License
28 stars 36 forks source link

Find templates in Project Teams (not default) #67

Open NicolasBrawerman opened 4 years ago

NicolasBrawerman commented 4 years ago

Hi

I've installed this extension and start to test it in my ADS. I see that i can attach only templates i created under the default project team, but in my project i have lot of teams. i create for a specific team the same template (as for default team) but i got a message there are no templates.

this is how this extension work? only templates under default project team?

thanks a lot

danielsilvajobs commented 3 years ago

I am having the same issue. We have different teams with one has different templates but I do not have access to a default team. How can I configure it?

vinnyclancy commented 2 years ago

ctx.team.id seems to not use session.team.id ? just trying to help :-)

https://github.com/figueiredorui/1-click-child-links/blob/master/src/scripts/app.js

` workItemTypes.forEach(function (workItemType) {

            var request = witClient.getTemplates(ctx.project.id, ctx.team.id, workItemType);
            requests.push(request);
        }, this);`