Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing issue to VSTS errors due to bug template #6360

Closed
Aidurber opened this issue Oct 18, 2017 · 4 comments
Closed

Sharing issue to VSTS errors due to bug template #6360

Aidurber opened this issue Oct 18, 2017 · 4 comments

Comments

@Aidurber
Copy link

We have template set up for a bugs in VSTS which has required fields. This prevents us from sharing issues from Sentry.

Error Communicating with Visual Studio Team Services (HTTP 400): TF401320: Rule Error for field Reported By Club. Error code: Required, InvalidEmpty. One additional error occurred during validation of the work item. Please correct all errors and try again.

I'm going to try and file an issue with the Visual Studio Team Services team to add an API endpoint to get a list of templates.

When sharing a bug to VSTS then, it could be possible in Sentry to select templates when creating the issue. Alternatively, even passing a template ID in the VSTS configuration in Sentry. So we could create a "Sentry" template. It's a query string parameter called "templateId" with a GUID.
Use work item templates : VSTS Documentation

Would this be possible?

We've been waiting for VSTS integration for a long time, I'm very excited about the support, by the way! 😄
Thank you

@Aidurber
Copy link
Author

Just had a thought, would it be more effective to report the issue here: https://github.com/boylec/sentry-vsts

@dcramer
Copy link
Member

dcramer commented Oct 18, 2017

@Aidurber we actually pulled VSTS support into core (getsentry/sentry-plugins).

I think we could do templates in VSTS, though I'm not sure when it'll happen. We've gone down that path with Jira, and to be honest, its a huge pain in the ass. Right now we're still considering VSTS pretty early as it's not functioning for all instances perfectly.

@Aidurber
Copy link
Author

That's fair enough.
I've just seen the source for the VSTS plugin. I'm thinking about doing a PR for supporting an optional template ID. Would that be something you would consider pulling in if I can sort it?

@dcramer
Copy link
Member

dcramer commented Oct 18, 2017

@Aidurber ideally, if possible, i think it'd do this:

  • A type exists on the create issue form
  • When the type is changed, it fetches the fields needed, and renders them
  • A default type is set (could be configurable)

@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants