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.

82 lines
2.1 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. "Issue items."
  27. items(filter: IssueIssueItemFilter): [IssueItem!]!
  28. "Logs related to this issue."
  29. logs: [Log!]!
  30. }
  31. input IssueFilter {
  32. "Filter by issue IDs. (mostly used internally by data loaders)"
  33. issueIds: [String!]
  34. "Filter by project IDs."
  35. projectIds: [String!]
  36. "Filter by owner IDs."
  37. ownerIds: [String!]
  38. "Filter by assignee IDs."
  39. assigneeIds: [String!]
  40. "Text search."
  41. search: String
  42. "Earliest stage. (inclusive)"
  43. minStage: Int
  44. "Latest stage. (inclusive)"
  45. maxStage: Int
  46. "Limit the result set."
  47. limit: Int
  48. }
  49. input IssueCreateInput {
  50. "Project ID."
  51. projectId: String!
  52. "Status name."
  53. statusName: String!
  54. "A name for the issue."
  55. name: String!
  56. "Description of the issue."
  57. description: String!
  58. "Assign this issue, will default to unassigned."
  59. assigneeId: String
  60. "A date when this issue is due."
  61. dueTime: Time
  62. "Optional title to use instead of the name when not in a list."
  63. title: String
  64. }
  65. input IssueEditInput {
  66. "The issue to edit."
  67. issueId: String!
  68. "Set the user this issue is assigned to."
  69. setAssignee: String
  70. "Set the status name for the issue."
  71. setStatusName: String
  72. "Rename the issue."
  73. setName: String
  74. "Set the issue title."
  75. setTitle: String
  76. "Change the due time."
  77. setDueTime: Time
  78. }