vsts-old.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. function VstsPlugin(params) {
  2. return {
  3. status: 'unknown',
  4. description: 'Integrate Visual Studio Team Services work items by linking a project.',
  5. isTestable: false,
  6. hasConfiguration: true,
  7. shortName: 'VSTS',
  8. slug: 'vsts',
  9. name: 'Visual Studio Team Services',
  10. assets: [],
  11. title: 'Visual Studio Team Services',
  12. contexts: [],
  13. doc: '',
  14. resourceLinks: [
  15. {url: 'https://github.com/getsentry/sentry-plugins/issues', title: 'Bug Tracker'},
  16. {url: 'https://github.com/getsentry/sentry-plugins', title: 'Source'},
  17. ],
  18. allowed_actions: ['create', 'link', 'unlink'],
  19. enabled: true,
  20. id: 'vsts',
  21. version: '9.1.0.dev0',
  22. canDisable: true,
  23. author: {url: 'https://github.com/getsentry/sentry-plugins', name: 'Sentry Team'},
  24. type: 'issue-tracking',
  25. metadata: {},
  26. };
  27. }
  28. function VstsCreate(params) {
  29. return [
  30. {
  31. name: 'project',
  32. default: 'Sentry Testing Team',
  33. required: true,
  34. choices: ['Test', 'Sentry Testing'],
  35. label: 'Project',
  36. type: 'text',
  37. },
  38. {
  39. default: "TypeError: Cannot read property 'secondsElapsed' of undefined",
  40. type: 'text',
  41. name: 'title',
  42. label: 'Title',
  43. },
  44. {
  45. default:
  46. "https://sentry.io/sentry-billy/react/issues/590943704/\n\n```\nTypeError: Cannot read property 'secondsElapsed' of undefined\n at value (/Users/billy/Dev/raven-js-examples/commonjs-react/dist/scripts/app.js:1:4193)\n at r (/Users/billy/Dev/raven-js-examples/commonjs-react/dist/scripts/app.js:1:17533)\n```",
  47. type: 'textarea',
  48. name: 'description',
  49. label: 'Description',
  50. },
  51. ];
  52. }
  53. export {VstsPlugin, VstsCreate};