Epic Work Items Migration - Weekly Sync — Transcript
Full transcript
- 0:03hello everyone uh welcome to Epic work
- 0:06items migration weekly uh it's 21st
- 0:08December and uh we have a couple of
- 0:11updates across different work streams so
- 0:14unless anyone wants to workiz we can uh
- 0:18uh move to discussion otherwise we can
- 0:20uh still discuss some of the workstream
- 0:22uh
- 0:25points eugia you want to uh verbalize
- 0:29any updates from stream one uh no mine
- 0:33are mostly for Just for information um
- 0:36so I think just reading
- 0:38enough okay cool
- 0:43thanks all right so we can jump straight
- 0:46to discussion uh especially with the
- 0:49widgets and how new widgets can be
- 0:52introduced uh with the work item
- 0:56types um yes I was keeping the
- 1:00prev points from workstream two um don't
- 1:06know oh yeah there there's a there's a
- 1:09blocker right yeah there's yes yeah so
- 1:12uh Alexandre you want to uh
- 1:19discuss yeah I think this was raised by
- 1:22uh Philip though but I can verbalize it
- 1:25oh yes sorry I did not add my name there
- 1:28uh yeah there's not much going on uh uh
- 1:33I'm just trying to Define strategies for
- 1:35each epic Association that on that other
- 1:37epic and uh there's a lot so maybe if
- 1:41someone can pick some of them it will be
- 1:43it would be
- 1:44good and there's a point from Alexandro
- 1:47if you want to talk about it yeah I was
- 1:49I was thinking about how we can do that
- 1:52because like I was I was thinking that
- 1:54most of the associations are kind of
- 1:56easy and there is not much to be copied
- 1:59um and then I thought about like notes
- 2:01and it feels a bit much to create a
- 2:05duplicate
- 2:06note um for every single epic like for
- 2:11the respective issue sort of thing right
- 2:14so now what you want is basically
- 2:16replace
- 2:17the
- 2:19um epic ID with the with the
- 2:23corresponding issue ID basically but
- 2:26that means that the code should now be
- 2:28prepared to read from both the read both
- 2:32actually the Epic note and the
- 2:33corresponding work item note um were
- 2:37were actually be like be capable to
- 2:39decide which one it wants to read
- 2:42from um so then the back filling all it
- 2:45needs to do is to replace um the the
- 2:49referenced IDs in the database and the
- 2:52code will just read the correct note um
- 2:56still um so that's that's one option
- 3:00and I think that works for for
- 3:03tables for data that lives in the same
- 3:06table both for epics and issues right
- 3:09like notes like I don't know
- 3:11subscriptions and I think there are a
- 3:13couple others um and we can go with the
- 3:17copying strategy in in the for the
- 3:20tables that for the data that lives in
- 3:23different tables basically um and that's
- 3:27probably something like uh relationships
- 3:30or parents or like epic relationships
- 3:32that needs to be moved to the issues
- 3:34relationships and so on so there is
- 3:36where you need to to basically create a
- 3:39copy
- 3:40um I think we'll need to use a mix of
- 3:43the strategies I don't think we want to
- 3:45create a lot of this data duplication
- 3:48that may actually like put a little bit
- 3:50more pressure on the database itself I
- 3:53feel I think it's like we're we're kind
- 3:56of stretching the database already and
- 3:58that's why we have this cells thing
- 4:00ongoing and and all that stuff to move
- 4:03data off of a single database so I don't
- 4:05know if we want to just like duplicate
- 4:07data just because we want to move to the
- 4:09work items um but yeah that's that's
- 4:12just a couple thoughts that we may want
- 4:14to think about when we when we decide on
- 4:17strategy to um to migrate data basically
- 4:21to work items from
- 4:25epics yeah so far the ones that I looked
- 4:27at uh they are simple but I think the
- 4:30most complicated one will be nodes and
- 4:32resource label events I think these both
- 4:34will hold a lot of
- 4:36data Maybe one one thing we could try is
- 4:39just add a new column
- 4:42to to noes table to hold in work iten ID
- 4:46instead of duplicating and then uh we
- 4:49just switch we just run a backr
- 4:52migration to switch the field or
- 4:54something like that but yeah yeah but
- 4:57that mean that means that the code needs
- 4:58to be prepared to read from the
- 5:01correct like you'll still need to to
- 5:04read from two
- 5:06different ideas like through through
- 5:08different fields right um because the
- 5:10Legacy code reads from from where it
- 5:13reads but yeah we can we can uh we can
- 5:17think about that um On a par item I
- 5:20guess
- 5:23basis uh yeah we can post upd to to to
- 5:26that epic I linked uh so we can open a
- 5:28topic for
- 5:30these fields there about
- 5:44it I would also expect that we use
- 5:46combination of both uh I think we
- 5:49discussed this slightly in the original
- 5:53plan and I thought that for notes and
- 5:55labels we would just switch them over
- 5:58for the remaining we would copy over
- 6:00like for example here Archy or SES to
- 6:04the appropriate widget tables but for
- 6:08not specifically I think we should avoid
- 6:11doing duplicities because the note ID is
- 6:15part of the reference if you paste
- 6:17somewhere in the comments yeah so if you
- 6:20would
- 6:22later uh drop uh the reference to the
- 6:25old Legacy note then the L would be
- 6:31broken so it might be better to just
- 6:34switch over yeah but I think we can just
- 6:37generalize the strategies in like if
- 6:39it's within the same table we don't have
- 6:42to create a duplicate and if it's if the
- 6:45data lives in different tables then you
- 6:46kind of still have to to to create a a
- 6:49record right so then for for resource
- 6:52tables we we
- 6:55actually have the issue ID and epic ID
- 6:58in in
- 7:00basically all of them not yeah not for
- 7:04the weight but for the weight you don't
- 7:05need to migrate anything so so that
- 7:08should be fine and for the iteration the
- 7:10same thing like you don't have an
- 7:12iteration on the Epic so so you don't
- 7:14have to migrate anything there as well
- 7:16uh but for the other table like State
- 7:19and label you have the Epic ID in there
- 7:22so you can just populate the
- 7:24corresponding issue idea I guess uh but
- 7:26the code needs to be prepared to
- 7:28basically understand and and read if
- 7:30like if both fields are populated how do
- 7:33you handle that situation
- 7:41right yeah what did you mean by or notes
- 7:44that should be copied over are are you
- 7:47in favor of
- 7:48duplicating the
- 7:50notes or do you mean copied over as in
- 7:53like like you said uh I was thinking for
- 7:57notes and labels they should just
- 8:00be oh they should be just switched yeah
- 8:04the ideas should just be switched from
- 8:06like issue ID to the to the or from epic
- 8:10ID to the issue ID but that would have
- 8:13to happen at the time
- 8:16of back filling is that right or or
- 8:20before we switch over to the Cod need to
- 8:23be able to handle both right to handle
- 8:25both options before we do the back
- 8:27filling itself so the would need to be
- 8:30in place to be capable of reading for
- 8:32the Epic itself like for the Epic
- 8:35object it should be able to load nodes
- 8:38if the notes are referenced either by
- 8:40epic ID or by issue
- 8:44ID because then when the back filling
- 8:46runs you you basically want to to
- 8:49replace the Epic ID with the issue ID or
- 8:52we we need to add
- 8:54a another column or something I don't
- 8:58remember it's a polymorphic relationship
- 9:00right that's notable or something so
- 9:02it's notable type so we'll need yeah
- 9:05we'll need to then update the notable
- 9:08type and notable ID from being epic and
- 9:13Legacy epic ID to being issue and the
- 9:15work item um ID right
- 9:21okay so we would have code on the work
- 9:24item that when we want to load its notes
- 9:26it looks for the corresponding Epic
- 9:29notes belong into the corresponding epic
- 9:32I think for work item we don't need to I
- 9:34think for the Epic we need to yeah we
- 9:37need to modify the Epic code that looks
- 9:40like exactly what you said for both epic
- 9:43type and ID and an issue type and ID so
- 9:46that the Legacy stuff continues to work
- 9:49even after the back filling
- 9:52right okay cool so I think like we need
- 9:55you're right we need a heuristic
- 9:57basically for each type of value and I
- 9:59would say like it seems to me that join
- 10:02tables should always be duplicated so
- 10:04any record that joins two objects like
- 10:07um a relationship between a work item
- 10:09and an issue relationship between two
- 10:11work items uh a hierarchy relationship
- 10:14between two work items like those should
- 10:15all be duplicated right because it's the
- 10:18same relationship but it's for the work
- 10:20item object instead of the Epic object
- 10:24and then we can just delete when it
- 10:26comes time to clean up does that make
- 10:28sense yeah yeah and and they live in
- 10:30different tables as well right like have
- 10:32different tables for that so you have to
- 10:35duplicate that data basically the tricky
- 10:38one seems to be notes so how can we get
- 10:40a a decision made on notes
- 10:43then I think we've already kind of have
- 10:47it right we we have to have the code
- 10:49prepared to to read from both types for
- 10:53the
- 10:54epics and then for the migration or for
- 10:57the back filling itself I I think what
- 10:59we will want to do is back fill it for a
- 11:01specific testing group like plan stage
- 11:05or or something like that um we test it
- 11:07out like we run it only on do we test it
- 11:10out and and only after that do we do the
- 11:13full back filling of the entire database
- 11:17uh which would end up in in self-managed
- 11:19right
- 11:22um um okay does anyone not agree with
- 11:27that like does anyone want to descent
- 11:30right now cuz we could just make the
- 11:35decision okay Alexandre see for under
- 11:39number 10 could you like summarize that
- 11:42please like as a decision
- 11:45made uh number 10 oh under number 10 I
- 11:49will yeah I'll do that and then I think
- 11:52it was fipe who brought it up originally
- 11:54so we might need it in the actual uh
- 11:56epic itself where just one thing I don't
- 11:59think this is just for notes and labels
- 12:02I think this can be generalized a bit
- 12:04for basically anything
- 12:08that lives within the same table well
- 12:11anything that needs kind of back filling
- 12:13but lives within the same table kind of
- 12:16thing right because that that that kind
- 12:18of implementation approach uh would
- 12:21apply for for labels perhaps and for
- 12:25other associations as well that that
- 12:27kind of need the same replacement of the
- 12:30reference rather than than creating a
- 12:32copy so as for decisions I guess what I
- 12:36was saying is like if it lives in the in
- 12:38different tables then we create a copy
- 12:40if not the code needs to be prepared to
- 12:42handle two different types epics and or
- 12:47idance cool I'll I'll summarize that I
- 12:50think at the end of the
- 12:52meeting yeah cool we might need it in
- 12:54the Epic like I said that Filipe linked
- 12:57it looks like there's a table in this
- 13:00that so for database Fields but I guess
- 13:03we need one also for relationships as
- 13:05well so there is a different issue I
- 13:07think for relationships for each
- 13:09relationship created in
- 13:11that yes I link at my my status update
- 13:15uh the first item the first link
- 13:22here H eug I think you have a point
- 13:24there as well uh yeah uh this is more
- 13:28like a question when we copy for example
- 13:31relationships we know we're going to
- 13:32copy every link um in that case we we
- 13:35would need to keep them in sync because
- 13:37they both exist for example you can
- 13:39reorder children so Legacy epic order
- 13:43will have to reflect that yeah yeah for
- 13:47the for the for the tables that we
- 13:48create a copy we'll need to keep them in
- 13:50sync uh for the for the time being until
- 13:53we move on to reading from the work
- 13:55items right so we will first make the
- 13:58the code be able to write into the two
- 14:01places do the back fing and then start
- 14:04switching onto writing to both places
- 14:08but reading only from the work
- 14:10item part and then and then and then
- 14:13switch off the yeah
- 14:15writing yeah like because once we read
- 14:19from the work item side we can verify
- 14:21that everything is in place everything
- 14:23is working as expected and we can have a
- 14:25feature flag to switch back and forth
- 14:27between two data sources the Legacy and
- 14:30the work item so once we are sure that
- 14:33everything works just fine we can drop
- 14:36writing to the Legacy side and only
- 14:39write and read from the work item
- 14:42side okay makes
- 14:47sense um and then there is the next
- 14:51point that I had about the um issue ID
- 14:55in the epics table I think well it seems
- 14:58like we have a delete Cascade foring key
- 15:02I'm a bit like I'm a bit concerned about
- 15:05the delete Cascade thing on the epics
- 15:07table because like just because we
- 15:10basically will not be showing the work
- 15:13item epic in the UI or anywhere it
- 15:17should not appear if somehow someone
- 15:20deletes that work item Epic from the
- 15:23database the the respective epic will be
- 15:25deleted and that may be a bit like
- 15:29unexpected from from where I'm standing
- 15:32I'm I'm not sure it should not be
- 15:35possible but it but it's still like a
- 15:39way to to to kind of delete stuff that
- 15:41you don't want to delete I think so I
- 15:43was wondering if we should rather change
- 15:45that to being
- 15:46nullify um so what happens in that
- 15:49situation is you basically lose the
- 15:52corresponding work
- 15:53item if it is being deleted somehow by
- 15:56some by someone but but I I think that's
- 15:59a
- 16:00better thing to end up with rather than
- 16:04uh having a an epic being deleted I
- 16:06don't
- 16:13know yeah I kind of agree with you that
- 16:17uh as long as we don't expose this uh
- 16:20work item epics to to
- 16:23users it might be safer to not delete
- 16:28the Legacy epic just in case they would
- 16:31manage to delete it somehow for example
- 16:35I don't know doing
- 16:36some group delete well not group
- 16:39deletion but yes some may I calls ended
- 16:43up deleting I don't know um it would
- 16:46have been okay if we had this field on
- 16:48the issues table I would actually want
- 16:50to have the Cascade delete right uh but
- 16:54the the the other way around the that we
- 16:56have it right now on the epis table I
- 16:58would
- 16:59lean towards changing the foreign key to
- 17:01just
- 17:03nullify yeah could we try to avoid
- 17:06deleting group level work items instead
- 17:08of running another database migration to
- 17:10change this foring key maybe that's
- 17:16easier the the thing is that the code is
- 17:19dynamic like someone can still add or
- 17:22forget to add a feature or like I I
- 17:26don't know or customers can just may
- 17:28want to try an end point to like see
- 17:31what happens input a invalid ID or
- 17:35something I don't know like there are
- 17:36many ways that like we cannot control
- 17:41probably yes I mean we are controlling
- 17:44because right now we are blocking
- 17:45creation of work items um on the API so
- 17:48maybe you could do the same with the
- 17:51delete
- 17:57thing
- 18:12yeah I don't know um we may want to take
- 18:14it offline and see if there are any
- 18:17options um I don't see
- 18:21a easy way to prevent this to be honest
- 18:25but maybe there
- 18:27is
- 18:31it seems like for the early phases of
- 18:35migration it makes sense to nullify no
- 18:38cuz it's a bit of a foot gun like if we
- 18:40accidentally run
- 18:41a uh something to clean up epics
- 18:46in you know for for whatever reason like
- 18:49um clean up work item epics we're going
- 18:51to accidentally delete a whole bunch of
- 18:53valid
- 18:55epics in doing so that seems um like
- 18:59very very risky somebody could do
- 19:03that yeah I mean that can be prevented
- 19:06once you know like if we if our group is
- 19:08doing it it's probably not going to
- 19:09happen but like there it's still sort of
- 19:13something that it's a
- 19:15hanging I don't know how you call it a
- 19:17hanging axe right it can it can
- 19:20just swipe any time sort of thing if
- 19:23someone somehow forgets you just we're
- 19:25all human so uh it's just better better
- 19:28to not have that trigger in the database
- 19:30level um just to make it a bit safer for
- 19:34for our own
- 19:36sake I mean there's
- 19:38literally there there's no downside to
- 19:42changing it Den nullify right I mean if
- 19:44you delete the group work item we just
- 19:46end up with another Legacy epic that
- 19:48doesn't have a work item which is going
- 19:50to be filled in by the backfill anyway
- 19:53so yes but once that's done after the
- 19:56back filling then you kind of have a
- 19:59problem so you you sort of need to
- 20:02prevent deletion but that's like even if
- 20:04you end up with a epic not having an orc
- 20:07item it's bad but it's recoverable right
- 20:10you you just go ahead create a migration
- 20:13run through all the epics that don't
- 20:14have a work item and create it but but
- 20:17if you delete it from the database now
- 20:19you need to go into um backups and
- 20:23recover and God knows if you did have a
- 20:27backup at that time now and so on and so
- 20:32forth yeah maybe you're right maybe you
- 20:35should create a follow-up
- 20:37issue to change the for
- 20:41key do you want to create
- 20:43one I can change the create the issue
- 20:46and and do it because Nicholas added the
- 20:49Mr he's on holiday I think for two
- 20:53weeks um so I can do it next um in these
- 20:57cases we we don't update the foreign key
- 21:00do we we just delete it and create a new
- 21:04one uh we just
- 21:07nullify set to
- 21:10new we can update foreign keys in I
- 21:14don't know I mean I think we have
- 21:15documentation on that somewhere
- 21:20yeah it may it may be just dropping and
- 21:23and creating one or or updating I I I
- 21:27don't remember exactly to be honest yeah
- 21:30it's okay I can I can take
- 21:50this
- 21:53thanks I assigned you on the bottom to
- 21:55the uh line item we can check in on on
- 21:58it in
- 22:05future yep so unless uh anyone wants to
- 22:09discuss uh any of the work stream items
- 22:11we can move on to discussion
- 22:17points
- 22:19um yes this is mostly something that has
- 22:23come up with a couple of the last two
- 22:26wiches or the ones we are adding now
- 22:28um they are specific for AIC so it's
- 22:33color and inherit dates uh but it was
- 22:36discussed in the spikes mostly it was
- 22:40requested by PMS that from now on or of
- 22:45we should be adding every widget to
- 22:47every type um considering in the future
- 22:51they they shouldn't have this separation
- 22:54and that we should be just disabling in
- 22:57the types that are not supporting that
- 23:00feature um so I just wanted to bring up
- 23:04the subject to see if we can um reach a
- 23:08a conclusion maybe write the
- 23:10documentation on how we move forward
- 23:12because until now we are adding only
- 23:15these two wigets included to the Epic
- 23:17type um we do have a disable option in
- 23:22widgets but um it's not really um it
- 23:27doesn't really work as expected because
- 23:30every time we import old widgets we
- 23:33don't populate these features so if you
- 23:35add a widget today as disable once the
- 23:38Importer runs again like for example in
- 23:41a new instance it will just write it
- 23:44with the default value that is enabled
- 23:48um so we just have to if we agree to do
- 23:50it this way we will have to modify the
- 23:52code and also back fill all the witches
- 23:55that we haven't been added um to the
- 23:59types for example the we have a widget
- 24:02called process and that's only added to
- 24:05key results and uh objectives so we will
- 24:09have to add it to all the
- 24:13types that that make
- 24:17sense yeah I think it makes sense I I
- 24:21don't remember I know that we discussed
- 24:22it I don't remember why we decided to
- 24:25have like not creating the re Rec and
- 24:28also having the
- 24:30disabled feature I I guess you need a
- 24:33way to differentiate between a feature
- 24:37where a widget not being supported and a
- 24:39widget being disabled by the customer in
- 24:42in a way right so like later down the
- 24:46stream when you have
- 24:48configurable work item types a customer
- 24:52like a a widget is supported by whatever
- 24:55type for instance by epic type but the
- 24:58customer decides that they don't want it
- 25:01then you kind of have that disabled tick
- 25:04um but I don't know that we would have
- 25:08any widgets across all the types that
- 25:11are not supported right like there is no
- 25:14reason for an epic to not support
- 25:16iteration or for an okr to objective to
- 25:20not support iteration like we are
- 25:22calling it that these are not supported
- 25:24but that's just because how we see
- 25:26objectives and epics and all that stuff
- 25:29it doesn't mean that the customer should
- 25:31not be able to do that um so yeah I I
- 25:36think it kind of makes
- 25:40sense yeah I also think that this
- 25:43disabled flag was eded for this reason
- 25:45so we could override the enable band
- 25:48inside a specific name space later down
- 25:51the road but I said it's a long time ago
- 25:55we edit this so I can I can check
- 25:59tomorrow
- 26:00uh yeah uh I think it's it shouldn't be
- 26:06needed to to basically have this flag at
- 26:10this point uh
- 26:12so it I I can think of the reason why we
- 26:17would need to set disabled explicitly
- 26:20for default types uh at this point but
- 26:23if it helps then it's an option
- 26:26to
- 26:28I think from uh the the setup we have in
- 26:31the back end at the moment it it's okay
- 26:33to just keep adding the widget to the
- 26:36type we want for example color to Epic
- 26:39and that's it but um I I was wondering
- 26:43if from product perspective there's a
- 26:45reason why we would want to include
- 26:48every new widget from now on in every
- 26:51type U Because unless I understood this
- 26:56wrong is um that's has been the request
- 26:59to include every widget in every
- 27:02type but it also makes the transition
- 27:05right conversion of one type to another
- 27:07easier if you already have the types I
- 27:10guess so like in when you convert an
- 27:13epic to an issue if you already have the
- 27:16widgets there but they are just disabled
- 27:18you don't have to create new records
- 27:19basically in the database you just set
- 27:23the flag to enabled and and whatever we
- 27:25just need to be disabled to disable
- 27:28um so that perspective it's easier I
- 27:31guess I'd say from a prog perspective
- 27:34one of the far further away things that
- 27:37we wanted to explore is allowing
- 27:39customers to customize work item types
- 27:42where they could change the name but
- 27:43also enable disable different widgets
- 27:46right so if somebody doesn't want to use
- 27:48a certain widget uh it being able to
- 27:51disable it reduces the noise right and
- 27:53cleans up the experience the reason why
- 27:56we've been more explicit about saying
- 27:58omit things like Milestones on epics for
- 28:00now for example we know that customers
- 28:03want to be able to associate Milestones
- 28:04epics but there's a lot of like
- 28:06dependencies to make that a good
- 28:07experience like we need to handle how
- 28:09we're going to display parents on time
- 28:11box reports for example which were kind
- 28:13of sorting through right now with issues
- 28:15and tasks and what how that will look
- 28:17but it's almost like for certain things
- 28:19that we want to have disabled for now
- 28:20it's because the user
- 28:22experience hasn't been cleaned up enough
- 28:25for that particular use case as like
- 28:27during this transition period but we do
- 28:29want to make it so that that makes sense
- 28:31there will be things times where like it
- 28:34doesn't make widget make sense to have a
- 28:36widget on other different types right
- 28:38like progress for example um but that's
- 28:41also something where I could see
- 28:43progress being extended to like
- 28:44automatically calculate progress from
- 28:46children on parent work item types right
- 28:49so it's sort of it makes sense to have
- 28:52all the widgets be available for all
- 28:53types if they can be uh explicitly
- 28:55disabled right and until we want like
- 28:59until the user experience is at a point
- 29:01where we can we can enable it and not be
- 29:03a weird experience um that's my ense
- 29:07Amanda anything else
- 29:10on no you're spot
- 29:13on yes so I guess the question well not
- 29:16the question but it sounds like as of
- 29:18now there are no widgets that are not
- 29:22explicitly supported on on a specific
- 29:24type right like all widgets are
- 29:26supported basically on all types is just
- 29:29that on some types we don't want them
- 29:31enabled because of whatever reason
- 29:34because just how we see the types
- 29:36behaving at this point in time basically
- 29:39right because like yeah eventually if we
- 29:41come down to the time where some widgets
- 29:46doesn't make sense to be supported on a
- 29:48time we need
- 29:51to we need to be able to kind of specify
- 29:54that somehow in the database and we
- 29:55cannot reuse the disabled field for that
- 29:58because that signifies something
- 30:00different that means that the customer
- 30:02disabled that it doesn't mean that it's
- 30:03not supported um but it sounds like
- 30:06right now we don't yet need that and
- 30:08when we need that we can we can just add
- 30:10another field like unsupported or
- 30:12something like that I don't know right
- 30:14because I think the the the high level
- 30:18architecture design goal at this point
- 30:20is to make everything work with
- 30:21everything to be like a sort of generic
- 30:25uh extensible object model and more we
- 30:27like are hardcode logic against that
- 30:30that's why I've sort of been uh
- 30:32championing like don't hardcode logic
- 30:34against types because it makes it harder
- 30:37to reason about and also makes it like
- 30:39more complicated to add in like this is
- 30:42only going to work with that thing but
- 30:43not this other thing what we really want
- 30:45to do is just make it a generic
- 30:47extensible object model called work IEM
- 30:49that everything sort of works together
- 30:51and that way we design it at least a
- 30:53happy path of everything working on
- 30:55everything uh that's the ultimate goal
- 30:58and then from there we can like figure
- 31:00stuff out but I I don't see us
- 31:03uh deviating from that like primary
- 31:06objective from a vision
- 31:15standpoint but just to conclude like it
- 31:18sounds euga that we should be adding all
- 31:22widgets to all types and just tick the
- 31:25disabled field to whatever it needs to
- 31:27be enabled or disabled based on on that
- 31:30type okay in in that case maybe this is
- 31:33something that can be done um to
- 31:36backfield was missing and also modify we
- 31:40populate the disable column if that's we
- 31:43agree mostly to not block the two
- 31:46current whiches we have the color and
- 31:49dates they're been added only to Epic um
- 31:53because if we add it with disable for
- 31:56all all the time that this will be
- 31:58deleted with the
- 32:00Importer so I can create an issue for
- 32:03this but if if we decide I think it's
- 32:06important as well because maybe other
- 32:08teams can add widgets so if we have a
- 32:11standard of what we do with new widgets
- 32:14should is ideal um so we can say every
- 32:17new widget needs to be added to every
- 32:19type and disable where we don't want it
- 32:22supported um but yeah this will have to
- 32:26be back fi
- 32:32uh will we pass the um will we pass the
- 32:35work item widgets to the graphql API
- 32:41then just with
- 32:42disabled because if so we'll need to
- 32:45there'll need to be some front end
- 32:46changes
- 32:47also um we yeah we are fetching only um
- 32:52enable widget so that that's working in
- 32:54that we only display for types what's
- 32:57enabled but we don't have a single
- 32:59widget in the database that's
- 33:02disabled every widget disable um column
- 33:07is false that's the default value we
- 33:10haven't added H so it wasn't sure to
- 33:13begin with if this feature was supposed
- 33:16to be used for that or maybe for the
- 33:18customer overriding it later um so it
- 33:22was more about the decision of if we
- 33:23keep going like we do the unsupported
- 33:26means not adding it to the type or that
- 33:29we have to add it to every type and
- 33:31change that column value um that seems
- 33:34to be the second option seems to be what
- 33:36we agree
- 33:47on then I wonder though
- 33:51then I wonder if we should um be adding
- 33:54actually a new column instead of using
- 33:57the
- 33:58disabled so that we don't confuse
- 34:01ourselves down the line when we get to
- 34:04the point where we want to support
- 34:07disabled and not disabled by the
- 34:08customer right because then our code
- 34:11will be using disabled all over the
- 34:13place but but it will actually mean
- 34:14unsupported right um in the specific
- 34:20type so so maybe I don't know but what
- 34:23would be the difference when when the
- 34:25customer they say a widget is
- 34:29it only for
- 34:31them yeah it's it's only for their space
- 34:34yeah it's when you say like it's
- 34:37disabled but because this is how I want
- 34:39to construct the work item type for
- 34:42myself I I want to disable this widget
- 34:45and this widget uh even though it's
- 34:47still supported on that type
- 34:52um they're all supported on all types
- 34:55except when we we've automatically
- 34:58disabled them on the customer's
- 35:01behalf
- 35:03right at this point in time I think so
- 35:05right yeah so so yeah so then we don't
- 35:07need a field it's
- 35:10like that's the way I understand it is
- 35:12like if you go to
- 35:14your epic work item customization page
- 35:18where you can customize the Epic work
- 35:20item you'll see a bunch of fields that
- 35:22don't make any sense for epic that are
- 35:24well don't that's wrong
- 35:27that we don't currently support for epic
- 35:29but we do for other work items that you
- 35:30could switch switch on if you felt like
- 35:33it or if they suited your if it's suited
- 35:35your work yeah yeah actually that makes
- 35:37sense
- 35:38right I mean yeah these are basically
- 35:41presets this is something preconfigured
- 35:44uh that you as a customer has copied
- 35:46over from a um a gitlab preset but you
- 35:50can modify it by by switching off the or
- 35:52on the disabled field
- 35:55yeah uh it's a good discussion I mean uh
- 35:59I recently worked started working on
- 36:01color widget right so I went through the
- 36:04uh the work that has done eight months
- 36:05ago which is moving into work item
- 36:07definition table prior to that we were
- 36:10using just constants so what I
- 36:12understand today is uh if you take
- 36:15example of progress widget in the
- 36:17database it is only present for
- 36:18objective and key result objects or for
- 36:21those for those types the record is not
- 36:23even present for any of the other work
- 36:25item types and according to yanan's
- 36:28comment I also agree this because I just
- 36:30followed through the implementation doc
- 36:32of work item definitions which clearly
- 36:34said disable would be used for overring
- 36:37of type names so I think as Alexandra
- 36:40also said before taking a call on
- 36:43whether to use whether to add widget to
- 36:45all the types and then use disabled or a
- 36:47new column let's figure out a way of uh
- 36:50how to handle the overriding part at the
- 36:53same time also think about disabled ones
- 36:56and then we can can take it Forward I
- 37:04guess yeah I think if the customer can
- 37:07override to disable they can also
- 37:10they're going to be able to override to
- 37:12enable something if we add it to every
- 37:14type yeah I mean but I think froman's
- 37:18perspective I think what he meant by
- 37:20overriding I mean correct me if I'm
- 37:21wrong but what I understood is by
- 37:23overriding they're basically changing
- 37:25the work item type name from issue to
- 37:28maybe uh get some other company's issue
- 37:31they're changing the name itself maybe
- 37:33some people might call objective as a k
- 37:36as a kpi right in those cases he wanted
- 37:38to dis use the disabled field for the KR
- 37:42and progress and then create a new
- 37:44record which says
- 37:46kpi uh for that disabled would be true
- 37:49that's what he meant by overriding I
- 37:51guess if I'm
- 37:52correct yes yeah yeah so so whenever we
- 37:56didn't get the yet right we don't have
- 37:58any customization but when we get into
- 38:00customization of the work item types
- 38:02each root namespace will have to create
- 38:05a copy of the record that they want to
- 38:07override right so the yeah when we will
- 38:11move on to
- 38:12customization if there are no specific
- 38:15records for that Nam space they will be
- 38:18using the the instance records the one
- 38:21that have Nam space null but if they
- 38:23want to customize it at the time that
- 38:25they want to custom cze a new copy or a
- 38:29copy of that record for that namespace
- 38:31will be created and then you can change
- 38:33a bunch of the attributes for the type
- 38:35name uh enable disabled like widgets
- 38:39maybe names of the widgets we'll see
- 38:41like labels of the widgets that there is
- 38:43a lot to play with uh but they will
- 38:45still use that disabled tick but only
- 38:48for their own record so you'll you'll
- 38:51kind of have a union of all the records
- 38:54from the instance level and the names
- 38:56space
- 38:58yep well not not a union but an
- 39:00exclusion I guess but yeah you you get
- 39:03the idea yeah yeah so sounds like we
- 39:06need an issue for this uh to backfill
- 39:08all those
- 39:10um backs pH John I think the primary
- 39:14thing is uh we need to basically
- 39:16standardize how we want to override it
- 39:18when we want to override it then also
- 39:21have the support of adding disable
- 39:23because earlier there was not a concept
- 39:25of adding all the widgets to all the
- 39:26types by default that's why the field
- 39:28disabled is used in the earlier issues
- 39:31so now I think we have two problems at
- 39:32the hand one is overriding the type name
- 39:35by the user the second is if you want to
- 39:37provide all the vgs to all the work item
- 39:39types by default then how do we track
- 39:41enables and
- 39:45disables so there is no overriding at
- 39:48this point in time yeah at this point we
- 39:50have we don't have it but I'm I'm just
- 39:51seeing because as it is as the point is
- 39:54covered in the work item definition
- 39:57stable implementation I'm just bringing
- 39:58it
- 40:00out yeah I still think we need the back
- 40:02filling to be done
- 40:04and for the records that are missing we
- 40:07just set the disabled to true so we do a
- 40:11back filling of the missing widgets but
- 40:14with disabled through at this point in
- 40:17time and move forward with that concept
- 40:20that for the instance level work item
- 40:24types we will def we will will Define
- 40:28the uh widgets that are not supported in
- 40:31our concept by setting the disabled
- 40:34through yeah I mean even see that part
- 40:37is clear Alexander I mean the disabled
- 40:39part and all the widgets that part I'm
- 40:41clear now the another problem which is
- 40:44addressed earlier and which will miss
- 40:45now if you use disabled for this purpose
- 40:47is if the user want to rename task to
- 40:50let's say task one as their the default
- 40:53type name in that case uh
- 40:57the the the the current proposal is to
- 41:00add a new add a new record for each and
- 41:02every vget for the type in the work item
- 41:05definition uh with the disabled as false
- 41:08and then make disabled true for the
- 41:10previous work item
- 41:11type no no okay then maybe I got it
- 41:15wrong yeah so when when you when the
- 41:18customer wants to create to to rename
- 41:20the task to task one right a new record
- 41:24for the type is created right with the
- 41:26task one and then all the widgets as
- 41:30they are for the task are copied and
- 41:33referenced to the task one and now is
- 41:36only when the customer could go into
- 41:38their configuration UI or whatever and
- 41:42said disabled or enabled or or like
- 41:45switch on or off all of those widgets so
- 41:49so when you want to basically redefine a
- 41:52type you get you get a copy of all the
- 41:55widgets um just the same as they were
- 41:58before but now you have the capability
- 42:00of only changing your own type and not
- 42:04the instance level time got it got it
- 42:06now it makes sense I think then just
- 42:08back filling would do would suffice
- 42:12yeah cool right does does anyone have
- 42:14capacity to take this um just to create
- 42:17the issue uh we can worry about who
- 42:19actually does it later but I think we
- 42:20need the back filling and it sounds like
- 42:22we might need a docs update as well for
- 42:25anyone who might be on boarding in
- 42:28future yes I can create the
- 42:33issue where does it go this issue though
- 42:35because like it seems like it's blocking
- 42:38adding a couple of widgets so I guess it
- 42:40goes to workstream one as the feature
- 42:43parity
- 42:45thing yeah I will say so it's part of
- 42:47feature uh the features we're adding I
- 42:50think um because this would need a
- 42:53modifying the Importer code we we are
- 42:57okay with allowing the current witches
- 42:58to move move on we don't want to block H
- 43:01Color and dates so they can keep adding
- 43:04it just to Epic and then when we do back
- 43:06fill we back fill these two new widgets
- 43:09as
- 43:10well um I think that would be okay
- 43:14otherwise we would block these two
- 43:19widgets okay if we backfill
- 43:25everything disabled true do we have the
- 43:28do we have the logic in there to take
- 43:30account of disabled being
- 43:33true because if I if I heard you right
- 43:35we all only have disabled fals minute
- 43:38when we fetch the widget from a type we
- 43:42fetch enabled ones only enabled ones the
- 43:46the thing is none of them are disabled
- 43:47at the moment but the the logic there is
- 43:50is is present I mean in in other words
- 43:53today when you fetch widgets uh we fetch
- 43:55basically all the vs attached to the
- 43:57type because we are not honoring the
- 43:59disabled field at the point at this
- 44:00point of time going forward we will just
- 44:02add a check by checking only return
- 44:05disabled uh false
- 44:08ones and we do have it in in the places
- 44:11I checked at least
- 44:14um I mean from type I think when you go
- 44:17to uh type
- 44:20okay I mean I thought we getting those
- 44:22constants uh we getting those things
- 44:24from the constants
- 44:34I mean we can easily add a couple
- 44:37specs and make sure that if a widget is
- 44:39disabled it's not fetched I think it
- 44:41should not be too too much too difficult
- 44:45but yeah is like we can we can specify
- 44:48that in the issue make
- 44:50sure St coverage that like only
- 44:54non-disabled widgets are returned or
- 44:56something like that and we can create a
- 44:58list of places where we need to check
- 45:00that that is happening um when fetching
- 45:03a work item or fetching a list of work
- 45:05items I don't know whatever graph
- 45:08queries we have I think at the model
- 45:11level it would suffice
- 45:15U because I believe we do use couple of
- 45:18methods which says available widgets uh
- 45:20that should do the trick I guess and
- 45:23today that point in that method we don't
- 45:25have any checks regarding to disabled
- 45:27field if he add it there that should do
- 45:29the trick I guess for the most part but
- 45:31I'm just thinking on my feet I could be
- 45:33wrong
- 45:41here Eugenia you already have an
- 45:44assigned uh takeway from this meeting
- 45:46are you sure you're okay with the second
- 45:48one I just because I I raise the
- 45:50discussion I feel guilty of just someone
- 45:53else having to deal with it I can do it
- 45:55tomorrow I can be the for or somebody
- 45:58else could to
- 46:00it perhaps aash can take it over as well
- 46:04if you don't mind
- 46:06aage yeah I I'm okay I can I can I'll
- 46:09spin up an issue with the draft uh what
- 46:11I understood from this call I'll open I
- 46:13I'll share the issue in the channel uh s
- 46:15plan backend channel uh we could
- 46:17basically take it from there perfect
- 46:20thanks yeah avash all we need at the
- 46:22minute is the issue yep thanks
- 46:30yeah if you could copy Eugenia as well
- 46:32in on that because um she's the DI for
- 46:34the first work stream as well thanks
- 46:52go okay all right okay so
- 46:56I guess that's all we
- 46:59have so unless uh uh anyone plans to I
- 47:05mean we we'll obviously have another
- 47:06call next week like last call for the
- 47:09year uh I'll be around uh in case anyone
- 47:12wants to show up otherwise this would
- 47:13probably be last proper long uh call of
- 47:17the year before we move into 2024
- 47:21so it's been a pleasure Casal and
- 47:24everybody thank you for for chairing the
- 47:26meetings K and for moving us forward um
- 47:30and thanks to everyone who took a work
- 47:31stream or contributed in some way
- 47:34um it's been exciting I think this is
- 47:37the last big thing we do before we can
- 47:40really start delivering serious user
- 47:42value on the work items platform so it's
- 47:44going to be really really
- 47:48exciting all right everyone happy
- 47:51Holidays happy holidays see you bye bye
- 47:55bye
About this transcript
This page contains the full transcript of Epic Work Items Migration - Weekly Sync by GitLab Unfiltered, generated from the public captions YouTube serves with the video. The transcript has 7,118 words across 1,004 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.