figueiredorui / 1-click-child-links

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

1 click child link throws: "No Task, Test Case templates found. Please Task, Test Case template for the project team". #127

Open granta12322 opened 2 years ago

granta12322 commented 2 years ago

When I click 1-click child links I get this error message. Someone else in my team using the same templates and tags does not receive this error message.

Aristo-CRM commented 2 years ago

Same here. It's unclear to me which team the templates need to be in for this feature to work. I have like 7 team's but 1-click only pulls from one teams templates. IF you add templates to other teams, they are ignored. If you use one click from other teams, it always pulls from your original teams templates for some reason. There should be logic in is add-on/extension to look for templates from the team you are in based upon the area path of the work item you are clicking from. Right now though, it's not working at all and gives me the same message you are getting. To test further, go duplicate one of your templates in one team at a time until it creates the work item. That's the new random team you'll need to create your templates in. At least until it randomly changes again in the future.

lassebro commented 2 years ago

I have the same problem. In a project with multiple teams, I get the same message. In my other project with only one team everything works fine.

akousmata commented 2 years ago

I experienced this too and this is likely due to the way the extension is being initialized. There are now recommendations from MS on how to retrieve Team information depending on the sort of extension you build and it looks like the Team info in this one is getting initialized once and then left. My guess is if you select the second team, then clear your cache/restart browser/logout and in, it will pick that team on initialization.

Aristo-CRM commented 2 years ago

Thanks for the info,. I just had to move the templates to a different team. I'm sure this will happen again in the future

[A picture containing text, armor, helmet Description automatically generated]

RYAN BURROUGHS

Sr. Manager Global Applications

P: 702.270.7328<tel:+17022707328> M: 503.888.1126<tel:+15038881126>

@.**@.> www.aristocrat.comhttp://www.aristocrat.com/

[image]


From: Nathan Grier @.> Sent: Friday, August 26, 2022 6:33:08 AM To: figueiredorui/1-click-child-links @.> Cc: Burroughs, Ryan @.>; Comment @.> Subject: [EXTERNAL] Re: [figueiredorui/1-click-child-links] 1 click child link throws: "No Task, Test Case templates found. Please Task, Test Case template for the project team". (Issue #127)

I experienced this too and this is likely due to the way the extension is being initialized. There are now recommendations from MS on how to retrieve Team information depending on the sort of extension you build and it looks like the Team info in this one is getting initialized once and then left. My guess is if you select the second team, then clear your cache/restart browser/logout and in, it will pick that team on initialization.

— Reply to this email directly, view it on GitHubhttps://github.com/figueiredorui/1-click-child-links/issues/127#issuecomment-1228494871, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJPOZ6Q6ILO2CCRT7NNIYMDV3DBRJANCNFSM52I5SXAQ. You are receiving this because you commented.Message ID: @.***>


IMPORTANT CONFIDENTIALITY NOTICE:

This e-mail (including any documents referred to in, or attached to, this e-mail) may contain information that is personal, confidential or the subject of copyright, privilege or other proprietary rights in favour of Aristocrat, its affiliates (which includes Pixel United, Big Fish Games, and Product Madness) or third parties. This e-mail is intended only for the named addressee. Any privacy, confidentiality, legal professional privilege, copyright or other proprietary rights in favour of Aristocrat, its affiliates (which includes Pixel United, Big Fish Games, and Product Madness) or third parties, is not lost nor waived if this e-mail has been sent to you in error.

If you have received this e-mail in error you should: (i) not copy, disclose, distribute or otherwise use it or its contents without the consent of Aristocrat or the owner of the relevant rights; and (ii) delete it from your system and destroy all copies.

Any personal information contained in this e-mail must be handled in accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by viruses and other defects. As a result, such communications may not be successfully received or, if received, may cause interference with the integrity of receiving, processing or related systems (including hardware, software and data or information on, or using, that hardware or software). Aristocrat gives no assurances and accepts no liability in relation to these matters.

eburgers81 commented 1 year ago

same issue, in firefox I can't get it to work, when using chrome, it works fine. Issue also started when using multiple areas in Azure Devops

Aristo-CRM commented 1 year ago

Hi everyone,

It’s a chrome cache issue. If you clear your cache and restart Chrome it will work.

Issue remains though as it re-cache’s from the team template location it previously worked from. You have to make sure your templates are duplicated in every team you create to ensure it works long term.

Ryan

From: Eelke Burgers @.> Sent: Friday, September 9, 2022 3:04 AM To: figueiredorui/1-click-child-links @.> Cc: Burroughs, Ryan @.>; Comment @.> Subject: [EXTERNAL] Re: [figueiredorui/1-click-child-links] 1 click child link throws: "No Task, Test Case templates found. Please Task, Test Case template for the project team". (Issue #127)

same issue, in firefox I can't get it to work, when using chrome, it works fine. Issue also started when using multiple areas in Azure Devops

— Reply to this email directly, view it on GitHubhttps://github.com/figueiredorui/1-click-child-links/issues/127#issuecomment-1241770064, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJPOZ6WB4L7AJLEOARH76FLV5MDQDANCNFSM52I5SXAQ. You are receiving this because you commented.Message ID: @.***>


IMPORTANT CONFIDENTIALITY NOTICE:

This e-mail (including any documents referred to in, or attached to, this e-mail) may contain information that is personal, confidential or the subject of copyright, privilege or other proprietary rights in favour of Aristocrat, its affiliates (which includes Pixel United, Big Fish Games, and Product Madness) or third parties. This e-mail is intended only for the named addressee. Any privacy, confidentiality, legal professional privilege, copyright or other proprietary rights in favour of Aristocrat, its affiliates (which includes Pixel United, Big Fish Games, and Product Madness) or third parties, is not lost nor waived if this e-mail has been sent to you in error.

If you have received this e-mail in error you should: (i) not copy, disclose, distribute or otherwise use it or its contents without the consent of Aristocrat or the owner of the relevant rights; and (ii) delete it from your system and destroy all copies.

Any personal information contained in this e-mail must be handled in accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by viruses and other defects. As a result, such communications may not be successfully received or, if received, may cause interference with the integrity of receiving, processing or related systems (including hardware, software and data or information on, or using, that hardware or software). Aristocrat gives no assurances and accepts no liability in relation to these matters.

RabidCadaver commented 1 year ago

mine is that the templates existed at the root level, but not then in the team areas. I'm going to need to look for another solution because we use a single project with subteams for most of our development.

tandel commented 3 months ago

I'm having the same issue today. Is there a plan to resolve this?

uknown4now commented 2 weeks ago

I am also having this issue. I am in a large org with many teams.... I am not even sure which team it is looking at to find the templates.

kadung commented 1 week ago

I am also having this issue. I am in a large org with many teams.... I am not even sure which team it is looking at to find the templates.

As akousmata mentioned, the issue is due to incorrect team id selection, it seem like the method always select the first team id if you are in multiple team.

You can inspect the network, click on the button and search for "domain/[collection name]/[project ID]/[team id]/_apis/wit/templates". Use the id to find your correct team.

I am not sure if the owner still maintain this repo to enhance this extension.

uknown4now commented 1 week ago

Thanks

I am also having this issue. I am in a large org with many teams.... I am not even sure which team it is looking at to find the templates.

As akousmata mentioned, the issue is due to incorrect team id selection, it seem like the method always select the first team id if you are in multiple team.

You can inspect the network, click on the button and search for "domain/[collection name]/[project ID]/[team id]/_apis/wit/templates". Use the id to find your correct team.

I am not sure if the owner still maintain this repo to enhance this extension.

Thank you! You were absolutely correct and this helped. I appreciate you!