2022-06-08 - Requirements to Work Items Discussion — Transcript
Full transcript
- 0:02there we go
- 0:04so just a little overview of that i
- 0:06think this is a meaning requested
- 0:08between engineering and product just to
- 0:09sort of go over the spike on the
- 0:10requirements management where we're
- 0:12going with it what's next there are some
- 0:13questions being asked i think it's
- 0:15really good to have this thing
- 0:15discussion
- 0:17we'll go ahead and record it
- 0:19so anybody who misses this can go back
- 0:21and refer to that and we're also taking
- 0:22notes in the plan related meetings notes
- 0:25document
- 0:26so i'll open the floor to anybody who
- 0:28had questions or discussion and if
- 0:29there's nothing obvious we can go back
- 0:31to sort of the
- 0:32issue we've been talking back and forth
- 0:34on and kind of walk through some of that
- 0:35as well
- 0:42uh yeah so uh i had a couple of
- 0:44questions and most of those you've
- 0:46already answered uh with regards to the
- 0:48widget design uh i wanted to understand
- 0:51like when we do migrate existing
- 0:53requirements over to work items
- 0:55i believe that the current url and the
- 0:58current design of the page for listing
- 1:00requirements would stay the same except
- 1:02the fact that clicking on requirements
- 1:03would take user to a dedicated page
- 1:05rather than a drawer
- 1:07and it would then load work items with
- 1:09all the relevant widgets correct that is
- 1:12my understanding yes
- 1:13and that's actually something people are
- 1:14really asking for because then they can
- 1:15link to requirements elsewhere and as a
- 1:18follow-on to that one other thing that
- 1:19people really want is the ability to
- 1:21reference a requirement like right now
- 1:22you can hit you know like an and symbol
- 1:24and have an epic you can hit those types
- 1:26of things
- 1:27i think we're kind of out of symbols
- 1:29which is why we haven't really dug into
- 1:30this but they're looking for something
- 1:32along those same lines so just we'll
- 1:34keep that in mind as we go if we think
- 1:36of something
- 1:37you know that would be good that'd be a
- 1:39nice touch as well
- 1:44yeah i think auto compilation is
- 1:45something uh that came up when we worked
- 1:48on requirements originally and
- 1:50part of the reason we didn't do it
- 1:52because
- 1:53we wanted to have requirements their own
- 1:54dedicated id and i i did ask id type
- 1:57rather and i did ask this question uh in
- 2:00the issue as well like if you want to
- 2:02allow user to customize the id prefix
- 2:05then that implementation for the auto
- 2:08completion a bit tricky
- 2:10and obviously users can still
- 2:12form a link to an existing requirement
- 2:14and put it anywhere they want and it
- 2:16would beautify uh by the gfm renderer so
- 2:20that is already in place but yeah with
- 2:21regards to symbol i'm not sure how we
- 2:24are going to go about it because it is
- 2:26more of a discussion between pm and
- 2:28product designers
- 2:29uh because uh like you said that uh we
- 2:32don't want to convolute our ui with lot
- 2:34of symbols right that's where it gets
- 2:36tricky um the other thing we had
- 2:38mentioned was the dedicated id i think
- 2:40the best approach on this going forward
- 2:43there are a couple use cases here one is
- 2:46if somebody is importing requirements at
- 2:48a higher level and i know we don't have
- 2:49the hierarchy yet but when they do
- 2:51import like requirements from an
- 2:52external source a customer an oem
- 2:54whoever that may be
- 2:56they'll need a way to keep those ids
- 2:58somewhere because the customer will
- 3:00refer to their requirements by their own
- 3:02internal id like this is you know spec
- 3:04id 77 how are you meeting that
- 3:07requirement and we'll need a way to
- 3:09store that in our system so i think the
- 3:10best bet for now is
- 3:12use the standard id
- 3:14in the work items thing that's how the
- 3:15link to the requirement will work but
- 3:18perhaps we add a field that says you
- 3:20know external id or customer id or
- 3:22something like that where that can be
- 3:24filled in on import or by you know when
- 3:26you create a requirement you can give it
- 3:27its own id
- 3:29this will enable us to import external
- 3:30source requirements with a reference to
- 3:32that requirement correctly put and then
- 3:34you can search by that so if
- 3:36i were a software engineer working in
- 3:38gitlab
- 3:39talking to my customers like hey i have
- 3:41some questions around requirement you
- 3:42know 726 i could search for requirement
- 3:45726 pull up our internal version of that
- 3:48and then show the linkages to the
- 3:49requirements i've created below that so
- 3:51i think that's probably the best route
- 3:53to go that keeps us with the same url
- 3:55scheme it keeps us with the same id
- 3:57scheme we have currently
- 3:58but it enables customers to still get
- 4:00what they're looking for
- 4:02by having that extra sort of like
- 4:04external id field or whatever we want to
- 4:06call it and that could be follow-on work
- 4:08that's not something we need off the bat
- 4:09we don't have that right now so it's not
- 4:10hurting anything
- 4:12the one thing i will mention along those
- 4:14same lines
- 4:16we currently allow people to export and
- 4:17import requirements
- 4:19and i've never quite understood how the
- 4:21ids work when that happens
- 4:23if i export requirements and i re-import
- 4:26them it puts them over the top of the
- 4:28existing id
- 4:30so
- 4:31if you were to export requirements from
- 4:33one project and import them into a
- 4:35different project
- 4:37what happens to the ids do they get
- 4:39assigned new ids or does it try to
- 4:41overwrite the ids i think we have a
- 4:44problem there right now that we might
- 4:45not have recognized
- 4:48so i guess my only word of caution is
- 4:50i'm fine going with standard ids the way
- 4:52we we currently have everything work i
- 4:54think that's the easiest path forward
- 4:55and it makes the most sense we just need
- 4:57to make sure that import export
- 4:58functionality isn't going to break
- 4:59things
- 5:02i will have to double check
- 5:04in source code but i believe that
- 5:07ids are not guaranteed on export import
- 5:11because it would be technically
- 5:13impossible uh right when you import
- 5:16on different deployment yeah
- 5:19that was my process
- 5:21i
- 5:22just i think that uh we guarantee the
- 5:25same internal id
- 5:27which is scoped to the project okay and
- 5:31i
- 5:32should check but i think that when
- 5:34referencing to requirements whether
- 5:37from test reports
- 5:39i think we
- 5:41use
- 5:42internal id or we use id
- 5:45okay it's it's something to check here
- 5:48but if we use internal id which should
- 5:51be
- 5:53consistent on import export and
- 5:57uh do you mean for requirement objects i
- 6:01i think we kept the
- 6:03old table just to have a difference to
- 6:05internal ids so
- 6:07we should be using general ideas
- 6:11correctly
- 6:14but that's if if the project you are
- 6:16imported doesn't have any requirements
- 6:18yet right because if they have a new
- 6:21import more than
- 6:23there is still conflicts possible
- 6:26yeah i think it's incrementally i mean i
- 6:28have to check so they will be different
- 6:32yeah sorry i was talking about importing
- 6:35exporting
- 6:36projects uh i
- 6:38now i realize you meant probably just
- 6:40exporting the csv list of
- 6:44of
- 6:45requirements
- 6:47okay so that's your yes different
- 6:49scenario
- 6:50right
- 6:51and the reason this is very far
- 6:52construction no no you're fine it gets
- 6:54confusing the reason this is tricky is
- 6:56if i create requirements
- 6:58and i export those requirements
- 7:00and then i re-import them to the same
- 7:02project they should have the same ids
- 7:04because if we're referencing them all
- 7:06over the place and the ids change that
- 7:07gets really confusing
- 7:09however
- 7:11i don't know if internally we're using
- 7:12the same id string i don't know how that
- 7:14works and this might be another use case
- 7:16for having that whole
- 7:18um
- 7:18secondary id field that we
- 7:21keep the same but we change it on the
- 7:23back and like i don't know how it wants
- 7:24to be solved again i don't want to solve
- 7:27the engineering problems here in the
- 7:29requirements but
- 7:30i just wanna that's that's sort of the
- 7:32goal is if i export requirements and
- 7:33imports them somewhere else the ids need
- 7:35to stay the same so people can reference
- 7:36those requirements by id number so
- 7:38however we want to do it is fine i just
- 7:40want to make sure we
- 7:41don't forget about that as we go through
- 7:42this
- 7:44i'm not sure if it was discussed before
- 7:46but uh having external id reference
- 7:50similar to for example security cves
- 7:53makes total sense to me and i believe
- 7:56that it's valid use case that for
- 7:57example you just want to take
- 8:00set of requirements and use them
- 8:02somewhere else together with your test
- 8:04cases and you will want to assure the
- 8:06integrity or consistency between both
- 8:09right so i think it's not sufficient to
- 8:11rely on
- 8:13id or eeid longer term
- 8:17maybe this could be another widget but
- 8:20yeah
- 8:21it's not timestamp
- 8:22exactly i think we have external id on
- 8:25issues though right and i think that's
- 8:26the same idea goes for you should i
- 8:29i'm kind of speaking on behalf of
- 8:31of gabe here but i i think it makes
- 8:33sense if someone
- 8:35imports external issues they want to
- 8:37reference them by same idea so i i think
- 8:39it kind of translates well into the
- 8:42issues thing as well and i think we have
- 8:44a column external id but i don't know if
- 8:46it's string or or integer i think it's
- 8:48string on the issues table
- 8:51it's a great point i wonder uh wasn't
- 8:54external issue id used for jira
- 8:57integration or something like that
- 9:00it's very supportive yeah i think
- 9:02it might conflict if you use both jira
- 9:06integration and at the same time you
- 9:10well
- 9:11well perhaps now it cannot probably
- 9:14cannot have two values right it cannot
- 9:16have a requirement and an issue value
- 9:17within the same external like they will
- 9:20conflict anyway i don't know if that's
- 9:22how somehow handled in jira in a
- 9:24different way but i'm just like we might
- 9:26want to be careful because there might
- 9:27be logic in there that says if that
- 9:29external id is non-null then that means
- 9:31there's an external jira issue and if we
- 9:33start using that for requirements we're
- 9:35going to get a lot of non-nulls that's
- 9:36going to look like there's jira issues
- 9:38when they're actually just requirement
- 9:39ids i don't know the logic behind it but
- 9:41i've seen people do goofy stuff like
- 9:42that in the past which is a perfectly
- 9:43valid use case until you go to extend it
- 9:45and then everything breaks
- 9:48there is also a type so if it's a type
- 9:50requirement and external id then you can
- 9:52have that yeah
- 9:54but then if we're going to be able to
- 9:55copy things from one type to another we
- 9:57can get ourselves into a really
- 9:58interesting situation if we copy a
- 9:59requirement to an issue
- 10:02then what happens to external id
- 10:05yeah
- 10:06so it's just
- 10:08it's no longer requirement in that case
- 10:10right when you're transferring the
- 10:11requirement to an issue you should not
- 10:13expect it to be a requirement anymore or
- 10:16i don't know how that works
- 10:19right so now it'll be type issue with an
- 10:21external id which then will imply it's a
- 10:23jira issue which may not be
- 10:26ideal yeah but then we can clean it up
- 10:28so at the moment when you do the type
- 10:31change from requirement to issue you
- 10:33kind of have to clean up that external
- 10:35id
- 10:39no that makes perfect sense i think this
- 10:41is where it's going to get really tricky
- 10:42and very hard to maintain if we're not
- 10:44smart about how we design the system and
- 10:45this is what i was alluding to in the
- 10:46previous call when we if we open up the
- 10:49idea of copying from one type to another
- 10:51we need to have a very crisp definition
- 10:53of how that works because otherwise
- 10:54we're gonna have to change code
- 10:56everywhere when we make small changes
- 10:58like this because we're gonna be like oh
- 11:00we can't forget to delete the external
- 11:01id when you move from a requirement to
- 11:03an issue what happens if you remove if
- 11:04you move from a requirement to a task do
- 11:06we have to delete it then like it just
- 11:08becomes this very
- 11:09convoluted mess of lots and lots of
- 11:11custom functions here and there that are
- 11:13going to be hard to maintain
- 11:15i think we might want to spend a little
- 11:16bit of time before we implement the
- 11:18copying
- 11:19really understanding how that's going to
- 11:21look and how that's the most efficient
- 11:22on the back end so we can then design
- 11:24around an efficient plan and we don't
- 11:26get ourselves in the situation of having
- 11:29a function for every transfer that's
- 11:31very hard to maintain just a thought
- 11:39any
- 11:40go ahead
- 11:41you mean in scenario when you change the
- 11:45for example test case to requirement or
- 11:48you change requirement to issue type
- 11:50right
- 11:51this is switching the type on yeah work
- 11:54items
- 11:55right
- 11:56yeah this is something that gabe feels
- 11:58very strongly about that we should be
- 11:59able to move things between
- 12:01types
- 12:03i can't see a use case for some of these
- 12:06but again i think if we're going to do
- 12:07it for one we should just make it a
- 12:09blanket ability
- 12:11to try to keep consistency so i i'm i'm
- 12:13for it in that sense
- 12:15it's just when you have strange things
- 12:17like verification status on a
- 12:18requirement and you move it to an issue
- 12:21you're gonna lose that which is fine
- 12:24do we then log a system note that says
- 12:26this was copied over and here's the old
- 12:28information like where does that data go
- 12:29what do we do with it how do we do the
- 12:31transfer there's just a lot of moving
- 12:33parts there that are going to be
- 12:36if if not thought through at the
- 12:38beginning we're going to end up in a
- 12:39situation that could be very complicated
- 12:41for us to maintain
- 12:43oh as you know uh yeah
- 12:46yeah i think it was raised before go
- 12:48ahead yeah i'm sorry
- 12:50so i remember we touched some discussion
- 12:53how to deal with uh with existing data
- 12:56when you switch type
- 12:58and i think there was no
- 13:01just
- 13:02decision yet right personal opinion
- 13:05would be at least for the first
- 13:07iteration it would make sense to
- 13:10not try to preserve any data for all
- 13:13type and just
- 13:15make sure that
- 13:17you keep only
- 13:19valid new new type
- 13:22validator for the new type and just drop
- 13:26anything related to the old type without
- 13:29trying to keep some
- 13:31old records or something like that
- 13:34because
- 13:35then it gets very easily very
- 13:37complicated when you try to remember
- 13:40status for old type of the object
- 13:44so i would expect that if you change the
- 13:46requirement to issue
- 13:50then user is warned that actually
- 13:54some data may be lost and by this
- 13:56changing
- 13:58you lose all the data
- 14:00relay specific to requirement which are
- 14:02not available on the new type okay for
- 14:05example the external id or something i
- 14:08think that makes sense and i would
- 14:09probably you know we can talk to the
- 14:11design team but it would be something
- 14:12like when you change a template of an
- 14:13issue you get that warning that's like
- 14:15warning this will overwrite your
- 14:16existing description it's something
- 14:18similar to that like warning if you're
- 14:19changing to another type you will lose
- 14:21all type specific data
- 14:24i think that's perfectly valid
- 14:26i think that in future there is also the
- 14:28case where you define that some types
- 14:31cannot move to some different types like
- 14:33the same as gabe is talking where you
- 14:35cannot
- 14:37link some something as a parent to a
- 14:39task where
- 14:40right a task cannot have a parent as a i
- 14:42don't know a requirement for instance
- 14:44then you can also we can also think of
- 14:46covering rules you cannot move a
- 14:47requirement to a i don't know to a task
- 14:50or something something like that or a
- 14:52requirement to an incident or i don't
- 14:54know right
- 14:56you know how i've and this is i
- 14:58mentioned this briefly this is how i've
- 14:59always handled this in the past when we
- 15:00did this sort of thing is
- 15:02every type had like every field or
- 15:06widget or piece of data had a bit in a
- 15:08bit field or a bit mask and then every
- 15:10type had an associated bit mask so to
- 15:12know what to display you just and the
- 15:14bitmask with the current
- 15:17items
- 15:18series of bits and it would tell you oh
- 15:20if this exists then display this and
- 15:22then that's how you'd go through and
- 15:23handle that so it didn't matter if the
- 15:24data was there or not in the fields on
- 15:26the back end of the database it was
- 15:28effectively invisible because when you
- 15:29masked it for the display purposes so if
- 15:31you're saying oh i'm displaying an issue
- 15:33mask the issue type over the top and
- 15:35that's the data i display it made it
- 15:36really transparent and easy and you
- 15:38didn't have to fuss and change and
- 15:40delete and add and copy things over you
- 15:43just masked it on top of it and that's
- 15:44that so if you moved it from an issue to
- 15:46a requirement type
- 15:48you just change this type somewhere and
- 15:50then when you go to display it you'd say
- 15:52oh it's a issue type display everything
- 15:54that you know based on this masking this
- 15:56is what we display so the data is still
- 15:58there on the back end nobody really
- 15:59cares you won't see it you can't do
- 16:01anything with it you can't interact with
- 16:02it and then every time you go to do an
- 16:04interaction like i want to close this so
- 16:06somebody clicks the close button you say
- 16:07is close allowed you masked it with
- 16:09allowable behaviors if close
- 16:12is allowed you do it if not you return
- 16:14an error
- 16:16type of thing
- 16:17yeah but
- 16:20i think it's elegant solution but a
- 16:22concern would be that then you have
- 16:24effectively
- 16:26invalid uh objects or models on backhand
- 16:30side yeah because right you just
- 16:33keep allowing to
- 16:34[Music]
- 16:35for example have invalidate associations
- 16:38so if i would
- 16:39have epic with
- 16:41child epics and switch a picture task
- 16:44i would allow this change and i would
- 16:48have hidden
- 16:49old childs on backhand side uh on
- 16:53still start
- 16:54but i would just not display them right
- 16:58that's where it gets difficult when you
- 16:59talk about hierarchies it breaks when
- 17:01you're talking about associations it
- 17:02works really well for fields like are
- 17:04labels allowed is there a secondary id
- 17:07are comments allowed can you close like
- 17:09all of those very finite boolean
- 17:11operations it makes a ton of sense when
- 17:14you start talking about relationships
- 17:17that's almost where you need like a
- 17:18callback like every time you switch from
- 17:20a requirement to another thing you have
- 17:22a requirements callback where it goes
- 17:23through and clears out stuff every time
- 17:24you switch from a parent type you have
- 17:27some sort of callback where it clears
- 17:28out it's just it's going to get
- 17:29convoluted quickly if we're not careful
- 17:32again i don't want to propose a solution
- 17:34i'm more interested in proposing the
- 17:35concept of
- 17:37let's
- 17:38design it before we get too far down the
- 17:40rabbit hole with this stuff so that
- 17:41we're not having to then back things out
- 17:43and change things and and i think it's
- 17:45one of those core constructs that if we
- 17:46do intend to support it
- 17:48it needs to be well understood
- 17:51sooner rather than later would be my
- 17:53prof preference but that's again if
- 17:55y'all aren't worried about it i won't
- 17:56worry about it either
- 17:58yeah i'm kind of curious what are others
- 18:01thought about this
- 18:03my thinking was originally because i
- 18:06don't have a good answer for this at
- 18:08this point if we go the destructive way
- 18:11it still allows us to improve this in
- 18:14future yeah so if we start with
- 18:17okay for now
- 18:19everything is lost we can still improve
- 18:21it later and
- 18:22start preserving some status yeah so
- 18:26it's more easier to go from this
- 18:29state to
- 18:30improvement than the other way but yeah
- 18:33if we agree
- 18:35i i'm really curious what what
- 18:38what would we first
- 18:40product management requirements about
- 18:43this preservation of
- 18:46all data and second what are ideas how
- 18:49to solve this this bitmapping is for
- 18:52sure interesting and if there would be a
- 18:54requirement from product we should
- 18:57preserve this we might consider this for
- 18:59example at least for scalar values or
- 19:02simple fields as you mentioned or
- 19:04something like that i don't know
- 19:06i completely agree i'd rather err on the
- 19:07side of getting rid of data
- 19:10now because we can always preserve it
- 19:12later
- 19:13in a system and a hierarchy that we've
- 19:15designed to work if we try to preserve
- 19:18it now
- 19:19and then we change the system or the
- 19:20hierarchy we end up in a situation we
- 19:22have to go back and migrate our
- 19:23databases in a non-trivial manner to
- 19:26clear things out or fix things
- 19:28i i think you're absolutely right if
- 19:30we're if we're not sure what the
- 19:31requirements are around preservation of
- 19:33data
- 19:34the best thing to do is delete those
- 19:36things that don't apply and just be done
- 19:38with it
- 19:39because that way if you do go from let's
- 19:41say a requirement to an issue
- 19:43verification status is gone it's lost
- 19:45that's fine
- 19:47um you know those about labels would
- 19:49they go away or would they stay
- 19:51in theory they both support labels so
- 19:53they'd stay they both that's a field
- 19:55that's you know
- 19:57comments same thing if we allow comments
- 19:58and requirements comments on issues
- 20:00would they stay i don't know i think
- 20:02they probably could but anything that's
- 20:04not supported i agree we should get rid
- 20:05of for now as a first iteration because
- 20:07that will make our life infinitely
- 20:09simpler
- 20:10if we ever do go down a path where we
- 20:11want to start saying okay we're going to
- 20:13take the external id field and we're
- 20:14going to turn it into something else
- 20:16we're going to perform a transformation
- 20:18it'll allow us to then do that in an
- 20:20educated and systematic way rather than
- 20:22trying to go back and fight with
- 20:24all the things we kept that we shouldn't
- 20:26have
- 20:28so yeah very okay with that
- 20:30i agree and i think we can also then do
- 20:32it incrementally like we are now
- 20:34defining how requirements move to issues
- 20:37and do that well and then requirements
- 20:40move to epics do that well and so on so
- 20:42all these types can be taken separately
- 20:45and can be implemented separately as a
- 20:47separate iteration or step
- 20:49uh rather than allowing it initially but
- 20:51yeah i totally agree
- 20:52yeah and my concern and the reason i
- 20:54kind of brought this up is my concern is
- 20:55if we add an additional field down the
- 20:57road
- 20:59and we add it to six of our ten types
- 21:02do we really want to have to go through
- 21:03every transformational function and
- 21:05figure out whether or not we should do
- 21:06and modify 10 to 15 different locations
- 21:09for the transform 2 and transform away
- 21:11from functions to account for this new
- 21:13thing
- 21:14i just want to make sure the maintenance
- 21:16doesn't outweigh the benefits and that's
- 21:17that's the only thing is if we do it
- 21:18intelligently hopefully we won't have to
- 21:21it's just
- 21:22we can incur a high maintenance cost if
- 21:24we have custom functions for every
- 21:25transform that we have to now modify
- 21:27every time we add an additional database
- 21:30piece of data
- 21:34yeah all right
- 21:36just further in the future i think it
- 21:38boils down to really letting the
- 21:40customers map out how things migrate
- 21:42from one type to another right because
- 21:44if you think it in terms of of custom
- 21:47kills custom data on on a requirement or
- 21:50something else and then you move it to a
- 21:52different type how do you move that data
- 21:54to a different to a different type you
- 21:56kind of have to ask the customer which
- 21:58data needs to move to which new or
- 22:00different
- 22:01custom field custom column and so on but
- 22:03yeah that's
- 22:05the future yeah the complexity goes up
- 22:07dramatically and i think that's the
- 22:09concerning part so
- 22:10just things to think about i think for
- 22:12now we've got a very good plan forward
- 22:13if there's any more questions about any
- 22:14of this stuff i would be happy to answer
- 22:17them either in slack set up another sync
- 22:19in two to three weeks when we're
- 22:20actually in the midst of implementing
- 22:21this
- 22:22whatever works for everyone just please
- 22:24let me know i'm happy to talk to this
- 22:26stuff as much as necessary to make sure
- 22:28we are successful
- 22:31so the plan is to implement this
- 22:33external
- 22:35id now or
- 22:38we don't currently have the
- 22:39functionality so it would not be a loss
- 22:41of functionality to not have it
- 22:43i think it should be a fast follow type
- 22:46of thing if we want to but i don't think
- 22:49it's required for the initial iteration
- 22:51if that makes sense
- 22:53yeah uh so what is the additional
- 22:56iteration just so yeah probably i'm
- 22:58totally on the loop so
- 23:00actually that's my question too
- 23:03i think the initial iteration is we
- 23:04don't want to necessarily lose any
- 23:05functionality so i think in order for us
- 23:07to successfully take issue or
- 23:09requirements and display them in a new
- 23:12manner using the different back end
- 23:14instead of using the requirements back
- 23:15end using the work items back end we
- 23:17need to be able to support verification
- 23:18status
- 23:20we need to be able to support um
- 23:22description title
- 23:25what else was on there i think i wrote
- 23:26this up when i tried to define some
- 23:28requirements on this i tried to dog food
- 23:29requirements do it i think that's the
- 23:31three major things we needed to do
- 23:33verification status was i think the only
- 23:35thing we didn't already have a
- 23:37comparable item for
- 23:39and that's where
- 23:41that was where the bulk of the work was
- 23:42going to end up if i wasn't mistaken
- 23:46otherwise uh let me go outside go ahead
- 23:48no go ahead
- 23:50uh so the main goal would be turning the
- 23:52current verification status that we have
- 23:54all the functionality into some kind of
- 23:57widgets uh
- 23:58like yang is
- 24:00made a good spike a great spike for
- 24:04parent child tests
- 24:06so
- 24:07that would be it
- 24:09that's my understanding yes
- 24:13all right so that's the reason i invited
- 24:15you because since you worked at the i
- 24:17think the first concept of work i think
- 24:19uh it gets maybe we have to do something
- 24:22more
- 24:23uh compatible between both and
- 24:26like
- 24:27from my understanding the api should be
- 24:30should be a default pattern for all
- 24:32videos so
- 24:34that's why i invited him to like
- 24:37make sure we are doing we are at the
- 24:39same table
- 24:43yeah so uh
- 24:46if
- 24:47so
- 24:48if we are aiming for having a widget for
- 24:51showing the status
- 24:55whether it's passing or failing
- 24:58uh then
- 25:00then
- 25:02i think it might be
- 25:06it might be quite easy to implement
- 25:09another
- 25:10read widget
- 25:13it might be more work to implement the
- 25:17creation of this data
- 25:20because i'm not sure we already have
- 25:24create action for
- 25:26another widget
- 25:28but it's
- 25:32but it's doable too
- 25:34it's part of the poc i edit
- 25:39as an inspiration
- 25:41uh
- 25:42one thing asks
- 25:45yes sir
- 25:46sorry uh
- 25:48so is it okay to skip the creation have
- 25:51something
- 25:52hard call it
- 25:53is that an option
- 25:57yeah
- 25:58so
- 26:00if we
- 26:01we are if the status is taken from
- 26:04somewhere else or
- 26:06just set from this example from ci job
- 26:09you can still just display it or
- 26:12create it from other create service it
- 26:14doesn't have to be created through a
- 26:16widget operation
- 26:18i mean
- 26:19it doesn't have to be
- 26:21part of the
- 26:24changing widgets as part of the work
- 26:26item mutation if you know what i mean
- 26:31you'll have to change the status
- 26:34whatever way you want if you are aiming
- 26:36just for showing the status in widgets
- 26:39on work item page
- 26:42so
- 26:44if you look at that spike issue that's
- 26:45linked i think what we had is the
- 26:47default value is unverified so basically
- 26:50we have this in the database already
- 26:52it's written by the ci report job as my
- 26:54understanding
- 26:56so
- 26:57also manual setup or manual correct
- 27:00so the widget if there's nothing there
- 27:02in that field would just display
- 27:04unverified would be my thought
- 27:07if somebody clicks the box to say manual
- 27:09verification it would switch to verify
- 27:11and i think that's outlined in the spike
- 27:13issue i these are the requirements i
- 27:14actually wrote so if there's questions
- 27:16about this on how to go about it like on
- 27:19what it should be displaying we can talk
- 27:20about that but i
- 27:22thought this wasn't a horrible ask
- 27:24because we already have the data it's
- 27:26just a matter of how to display it
- 27:29yeah the one problem is how did we have
- 27:32the data the data now is really it's
- 27:34tied up to test reports
- 27:37so
- 27:37[Music]
- 27:39that's how it works now a test report is
- 27:42what determines the verification status
- 27:44of a requirement
- 27:46but
- 27:49uh yeah so maybe for this we could
- 27:51detect it or something but something
- 27:54i can think about later in most of the
- 27:57issue or
- 27:59maybe create a poc and see
- 28:02what is better
- 28:04so when they're reporting cisd pipeline
- 28:06you're saying it changes the test report
- 28:08it's so you have to go out to the test
- 28:09report to get that it's not updated in
- 28:11the database anywhere
- 28:13no actually the verification status of a
- 28:15requirement is the latest test report
- 28:18created status
- 28:20which is created by the pipeline so it's
- 28:23it's not a field on the on the
- 28:25requirement or at the work item it's a
- 28:28record it's a test point record
- 28:30so when you create a requirement right
- 28:32now it actually has a new a new value on
- 28:35that field
- 28:39actually not that field because it
- 28:41doesn't have any test report records
- 28:43it's the replication status is known
- 28:47so when we manually
- 28:50verify it or manually unverify it
- 28:53what it does is create a new test report
- 28:56with the designs
- 28:58got it
- 29:01thank you that helps i did not realize
- 29:03that was it was that level of complexity
- 29:05that makes perfect sense actually
- 29:12uh all right yeah so
- 29:15so that's it from my side this is
- 29:17something i actually think about how we
- 29:18could go maybe have some help from young
- 29:21and see how we can
- 29:23tackle
- 29:24this we did with it and
- 29:26the current ones
- 29:28that we are working on and see what
- 29:31how it feels
- 29:33are we aiming here only
- 29:36the new work item show page or
- 29:40our id are we aiming also issue show
- 29:43page
- 29:44just to clarify the same confusion there
- 29:46was foreign
- 29:49no well i thought
- 29:51up until our last meeting an hour ago we
- 29:54were aiming for the work item show page
- 29:56so it looked like a work item then
- 29:57somebody said hey why don't we keep the
- 29:59drawer around and that sort of threw me
- 30:01for a loop because i thought the drawer
- 30:02was going away so my understanding is
- 30:05we're trying to make this display as a
- 30:06work item however that's going to look i
- 30:09don't really care i realize we may lose
- 30:11that drawer
- 30:13in the meantime and we may be bringing
- 30:14that back for every work item type but
- 30:16that's in the future i wasn't going to
- 30:18worry about that
- 30:20my basic thing was i wanted to
- 30:21transition people over from the
- 30:23requirements to the work item types
- 30:25because then we can start adding things
- 30:26like comments
- 30:28labels
- 30:30relatively easy because those are
- 30:32underlying work item things we can just
- 30:34enable for requirements so whatever gets
- 30:36us there quicker is probably
- 30:38my preference
- 30:40i think the biggest thing is this
- 30:41verification status and that's sort of
- 30:43what's
- 30:44this is about
- 30:47but
- 30:48yeah i think we're we're using the work
- 30:50item show page with my understanding
- 30:52unless people have a problem with that
- 30:57and uh based on
- 30:59what i spoke with uh john in our
- 31:01one-on-one earlier this week uh i
- 31:03believe that regardless of how we want
- 31:05to show requirements i believe we are
- 31:07going away with the draw so we need a ux
- 31:10designer to work on the updated layout
- 31:12of the page because right now
- 31:14the work item page that we have
- 31:16currently is more or less a playground
- 31:19to test work item widgets it doesn't
- 31:21represent any concrete object that we
- 31:23use in production so
- 31:25if we want to start using all those
- 31:27widgets on a requirements page then we
- 31:29would need some ux guidance on how to
- 31:32show a requirements page
- 31:34both for create and edit and uh
- 31:37so any uh design decisions uh which are
- 31:40supposed to be taken will need to spike
- 31:42on that as well and uh
- 31:43i believe alexis will get assigned to
- 31:46this particular issue to work on the
- 31:48designs before we are ready for
- 31:50implementation
- 31:51sounds good there is some other
- 31:54designer that was supposed to provide
- 31:55some assistance for us as well let me
- 31:56check with melissa on that she was
- 31:58trying to align to get some additional
- 32:00bandwidth in ux because i know alexis is
- 32:02very busy so
- 32:03we will see what we can do there let me
- 32:05take an action out of this to go verify
- 32:08um the design effort is going to be
- 32:10handled and we have that prioritized
- 32:12correctly
- 32:15[Music]
- 32:18yeah one more note about the
- 32:21ui
- 32:23originally i thought that
- 32:26when
- 32:27currently with migration of requirements
- 32:30to issues i we are at this phase that
- 32:35when a requirement is created we
- 32:36actually create an issue uh issue record
- 32:40and for requirements we still create a
- 32:44requirement record but we delegate
- 32:47fetching all the fields to the issue
- 32:51issue model which is connected with the
- 32:53requirement
- 32:55the main reason why we still keep the
- 32:57requirement
- 32:59records is because of
- 33:02api backward compatibility
- 33:05which we will have to keep for at least
- 33:08six months
- 33:09until
- 33:10from when we deprecate it and we haven't
- 33:12deprecated yet
- 33:14because
- 33:16because we don't have a
- 33:18functional replacement
- 33:20on api level for working with
- 33:23requirements
- 33:25originally i thought that
- 33:28users could just
- 33:30users and front-end could just use
- 33:33issues api to just work with
- 33:36requirements just as any other type
- 33:39then based on discussions now and on
- 33:42weekly call it might be that they would
- 33:44rather use directly work items graphql
- 33:47api
- 33:48instead of issues graphql api
- 33:53and
- 33:54then if this then
- 33:57when front-end starts using this new api
- 34:00we can deprecate requirements api and
- 34:02drop
- 34:04the requirements records after the
- 34:06application periods
- 34:08if it makes sense
- 34:10so
- 34:12well why i'm discu
- 34:14pointing this out we we should be aware
- 34:17that this is the reason why we are
- 34:19keeping the requirements record and it
- 34:21should be
- 34:22somewhere on our roadmap to
- 34:25actually switch both front end and
- 34:30referencing requirements through
- 34:33different id then requirements id
- 34:37for example work items id or something
- 34:39yeah
- 34:40because
- 34:41these are the reasons why we have to
- 34:43keep around this in sync between
- 34:45[Music]
- 34:47requirement and issue record
- 34:50so
- 34:51sorry for guys
- 34:53no problem sorry for interrupting you i
- 34:55have i have an appointment this call
- 34:57took a
- 34:58bit longer than expected so i would just
- 35:00watch the recording later or maybe you
- 35:03can sync another one so
- 35:05i'll show you
- 35:07is that all right
- 35:09works for me
- 35:11all right so i'll be leaving and i'll
- 35:12watch the rest later thank you
- 35:16thank you
- 35:17i'm going to ask why we could not
- 35:20deprecate like can we duplicate
- 35:22requirements
- 35:23api
- 35:25now
- 35:26we can still continue to use it on the
- 35:28front end and whatnot but i guess the
- 35:30bigger question is
- 35:32is our graphql api on issues work items
- 35:37able to handle the requirements
- 35:39basically so so once we deprecated is
- 35:42there something that we can direct our
- 35:43users to use instead right
- 35:48yeah that's a good point so uh no i
- 35:51think there are still uh two
- 35:55missing bits i think that
- 35:57test reports are not exposed through the
- 36:01issues api and it's supposed to be done
- 36:04through these
- 36:05widgets api
- 36:08which will be part of the work item set
- 36:11api so
- 36:14so when so now the answer is we don't
- 36:17have a replacement
- 36:19for requirements api yet and that's the
- 36:22reason why it's not deprecated yet it
- 36:25would be weird to replicate it now when
- 36:28there is no replacement
- 36:32right right like
- 36:33my thinking was more like
- 36:35duplication doesn't steal means removing
- 36:37people can still use it but obviously we
- 36:40should have something in place when you
- 36:41say something is deprecated you should
- 36:42yes exactly very alternative uh so they
- 36:46can do the transition
- 36:48yeah
- 36:50we could deprecate it now but it's weird
- 36:53because the point of the application
- 36:54period is that you have time to
- 36:56migrate to the new
- 36:58api and we don't have this
- 37:01so
- 37:14well i i don't have any questions from
- 37:17my side because i was mostly just
- 37:21catching up or watching because felipe
- 37:24is driving this spike so
- 37:27yeah
- 37:29excellent well you know i really
- 37:29appreciate this i really enjoyed the
- 37:31discussion hopefully this was
- 37:32enlightening for everybody i've learned
- 37:33a lot here so that's good there's any
- 37:35other questions just let me know and i
- 37:37will go ahead and update this video to i
- 37:39guess a youtube channel somewhere and
- 37:41point john at it because i know he was
- 37:43very interested so
- 37:44thank you again for your time if there's
- 37:45any more questions feel free to reach
- 37:47out
- 37:50bye
About this transcript
This page contains the full transcript of 2022-06-08 - Requirements to Work Items Discussion by GitLab Unfiltered, generated from the public captions YouTube serves with the video. The transcript has 6,309 words across 1,065 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.