stufflog graphql server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.0 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. type Issue {
  2. "The issue ID."
  3. id: String!
  4. "The time at which the issue is created."
  5. createdTime: Time!
  6. "The time at which the issue was updated."
  7. updatedTime: Time!
  8. "Optionally, when this issue is due."
  9. dueTime: Time
  10. "The name of the issue, used in lists."
  11. name: String!
  12. "The issue title. This can be longer than the name."
  13. title: String!
  14. "The description of the issue, in markdown."
  15. description: String!
  16. "Parent project."
  17. project: Project
  18. "The issue's owner/creator."
  19. owner: User
  20. "The issue's assignee."
  21. assignee: User
  22. "Current status of the issue."
  23. status: ProjectStatus!
  24. "Issue tasks."
  25. tasks(filter: IssueTaskFilter): [IssueTask!]!
  26. "Logs related to this issue."
  27. logs: [Log!]!
  28. }
  29. input IssueFilter {
  30. "Filter by issue IDs. (mostly used internally by data loaders)"
  31. issueIds: [String!]
  32. "Filter by project IDs."
  33. projectIds: [String!]
  34. "Filter by owner IDs."
  35. ownerIds: [String!]
  36. "Filter by assignee IDs."
  37. assigneeIds: [String!]
  38. "Text search."
  39. search: String
  40. "Earliest stage. (inclusive)"
  41. minStage: Int
  42. "Latest stage. (inclusive)"
  43. maxStage: Int
  44. "Limit the result set."
  45. limit: Int
  46. }
  47. input IssueCreateInput {
  48. "Project ID."
  49. projectId: String!
  50. "Status name."
  51. statusName: String!
  52. "A name for the issue."
  53. name: String!
  54. "Description of the issue."
  55. description: String!
  56. "Assign this issue, will default to unassigned."
  57. assigneeId: String
  58. "A date when this issue is due."
  59. dueTime: Time
  60. "Optional title to use instead of the name when not in a list."
  61. title: String
  62. }
  63. input IssueEditInput {
  64. "The issue to edit."
  65. issueId: String!
  66. "Set the user this issue is assigned to."
  67. setAssignee: String
  68. "Set the status name for the issue."
  69. setStatusName: String
  70. "Rename the issue."
  71. setName: String
  72. "Set the issue title."
  73. setTitle: String
  74. "Change the due time."
  75. setDueTime: Time
  76. }