Implement colour attribute for epics
What does this MR do and why?
Splitting apart the commits from !72779 (closed) and starting with the backend changes to implement a colour
column to the epics
.
This MR includes the database table change and the updates to the model as well as the REST and GraphQL end points.
Example GraphQL calls
Two GraphQL calls from the parent MR that I'm planning on using (more will be added when other features are up for review)
query epicColor($fullPath: ID!, $iid: ID) {
workspace: group(fullPath: $fullPath) {
id
issuable: epic(iid: $iid) {
id
color
}
}
}
mutation updateEpicColor($input: UpdateEpicInput!) {
updateIssuableColor: updateEpic(input: $input) {
issuable: epic {
id
color
}
errors
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #7641 (closed)
/cc @kushalpandya
Edited by Andrew Smith