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.

97 lines
2.4 KiB

  1. """
  2. An issue task is a the main part of an issue. They contain estimates, and which activity
  3. is to be performed. They don't get their own page in UI and should have all their information
  4. presented in a concise manner.
  5. """
  6. type IssueTask {
  7. "The issue task ID."
  8. id: String!
  9. "The time when the task was created."
  10. createdTime: Time!
  11. "The time when the task was updated."
  12. updatedTime: Time!
  13. "The time when the task is due."
  14. dueTime: Time
  15. "A name for the task."
  16. name: String!
  17. "A short description of the task."
  18. description: String!
  19. "The estimated time."
  20. estimatedTime: Duration!
  21. "The estimated units."
  22. estimatedUnits: Int
  23. "A multiplier for the points earned."
  24. pointsMultiplier: Float!
  25. "Parent issue."
  26. issue: Issue!
  27. "Activity the task performs."
  28. activity: Activity!
  29. "The status of this task."
  30. status: ProjectStatus!
  31. #"Logs related to this task."
  32. #logs: [Log!]!
  33. "Remaining time from the logs."
  34. remainingTime: Duration!
  35. "Remaining units (if countable)"
  36. remainingUnits: Int
  37. }
  38. """
  39. A subset of the filter for Issue.tasks
  40. """
  41. input IssueTaskFilter {
  42. "The activity IDs to limit the task list with."
  43. activityIds: [String!]
  44. "The lowest stage (inclusive)."
  45. minStage: Int
  46. "The highest stage (inclusive)."
  47. maxStage: Int
  48. }
  49. """
  50. Input for the createIssueTask mutation.
  51. """
  52. input IssueTaskCreateInput {
  53. "The issue ID to parent to."
  54. issueId: String!
  55. "The activity ID this task is about."
  56. activityId: String!
  57. "The name of the task."
  58. name: String!
  59. "The description of the task."
  60. description: String!
  61. "Estimated time to perform the task."
  62. estimatedTime: Duration!
  63. "Task status."
  64. statusName: String!
  65. "Estimate an amount of units. This is required for issues with a countable activity."
  66. estimatedUnits: Int
  67. "Set an optional multiplier for the issue."
  68. pointsMultiplier: Float
  69. }
  70. """
  71. Input for the editIssueTask mutation.
  72. """
  73. input IssueTaskEditInput {
  74. "The issue task to edit."
  75. issueTaskId: String!
  76. "Update the status."
  77. setStatusName: String
  78. "Set the name."
  79. setName: String
  80. "Set description."
  81. setDescription: String
  82. "Set estimated time."
  83. setEstimatedTime: Duration
  84. "Set estimated units."
  85. setEstimatedUnits: Int
  86. "Set points multiplier."
  87. setPointsMultiplier: Float
  88. "Set due time."
  89. setDueTime: Time
  90. }