vsts-old.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. export function VstsPlugin() {
  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/issues', title: 'Bug Tracker'},
  16. {url: 'https://github.com/getsentry/sentry', 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', name: 'Sentry Team'},
  24. type: 'issue-tracking',
  25. metadata: {},
  26. };
  27. }
  28. export function VstsCreate() {
  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. }