YouTube2Text

2022-06-08 - Requirements to Work Items Discussion — Transcript

by GitLab Unfiltered · 6,309 words · 1,065 segments · language en · Watch on YouTube

Full transcript

  1. 0:02there we go
  2. 0:04so just a little overview of that i
  3. 0:06think this is a meaning requested
  4. 0:08between engineering and product just to
  5. 0:09sort of go over the spike on the
  6. 0:10requirements management where we're
  7. 0:12going with it what's next there are some
  8. 0:13questions being asked i think it's
  9. 0:15really good to have this thing
  10. 0:15discussion
  11. 0:17we'll go ahead and record it
  12. 0:19so anybody who misses this can go back
  13. 0:21and refer to that and we're also taking
  14. 0:22notes in the plan related meetings notes
  15. 0:25document
  16. 0:26so i'll open the floor to anybody who
  17. 0:28had questions or discussion and if
  18. 0:29there's nothing obvious we can go back
  19. 0:31to sort of the
  20. 0:32issue we've been talking back and forth
  21. 0:34on and kind of walk through some of that
  22. 0:35as well
  23. 0:42uh yeah so uh i had a couple of
  24. 0:44questions and most of those you've
  25. 0:46already answered uh with regards to the
  26. 0:48widget design uh i wanted to understand
  27. 0:51like when we do migrate existing
  28. 0:53requirements over to work items
  29. 0:55i believe that the current url and the
  30. 0:58current design of the page for listing
  31. 1:00requirements would stay the same except
  32. 1:02the fact that clicking on requirements
  33. 1:03would take user to a dedicated page
  34. 1:05rather than a drawer
  35. 1:07and it would then load work items with
  36. 1:09all the relevant widgets correct that is
  37. 1:12my understanding yes
  38. 1:13and that's actually something people are
  39. 1:14really asking for because then they can
  40. 1:15link to requirements elsewhere and as a
  41. 1:18follow-on to that one other thing that
  42. 1:19people really want is the ability to
  43. 1:21reference a requirement like right now
  44. 1:22you can hit you know like an and symbol
  45. 1:24and have an epic you can hit those types
  46. 1:26of things
  47. 1:27i think we're kind of out of symbols
  48. 1:29which is why we haven't really dug into
  49. 1:30this but they're looking for something
  50. 1:32along those same lines so just we'll
  51. 1:34keep that in mind as we go if we think
  52. 1:36of something
  53. 1:37you know that would be good that'd be a
  54. 1:39nice touch as well
  55. 1:44yeah i think auto compilation is
  56. 1:45something uh that came up when we worked
  57. 1:48on requirements originally and
  58. 1:50part of the reason we didn't do it
  59. 1:52because
  60. 1:53we wanted to have requirements their own
  61. 1:54dedicated id and i i did ask id type
  62. 1:57rather and i did ask this question uh in
  63. 2:00the issue as well like if you want to
  64. 2:02allow user to customize the id prefix
  65. 2:05then that implementation for the auto
  66. 2:08completion a bit tricky
  67. 2:10and obviously users can still
  68. 2:12form a link to an existing requirement
  69. 2:14and put it anywhere they want and it
  70. 2:16would beautify uh by the gfm renderer so
  71. 2:20that is already in place but yeah with
  72. 2:21regards to symbol i'm not sure how we
  73. 2:24are going to go about it because it is
  74. 2:26more of a discussion between pm and
  75. 2:28product designers
  76. 2:29uh because uh like you said that uh we
  77. 2:32don't want to convolute our ui with lot
  78. 2:34of symbols right that's where it gets
  79. 2:36tricky um the other thing we had
  80. 2:38mentioned was the dedicated id i think
  81. 2:40the best approach on this going forward
  82. 2:43there are a couple use cases here one is
  83. 2:46if somebody is importing requirements at
  84. 2:48a higher level and i know we don't have
  85. 2:49the hierarchy yet but when they do
  86. 2:51import like requirements from an
  87. 2:52external source a customer an oem
  88. 2:54whoever that may be
  89. 2:56they'll need a way to keep those ids
  90. 2:58somewhere because the customer will
  91. 3:00refer to their requirements by their own
  92. 3:02internal id like this is you know spec
  93. 3:04id 77 how are you meeting that
  94. 3:07requirement and we'll need a way to
  95. 3:09store that in our system so i think the
  96. 3:10best bet for now is
  97. 3:12use the standard id
  98. 3:14in the work items thing that's how the
  99. 3:15link to the requirement will work but
  100. 3:18perhaps we add a field that says you
  101. 3:20know external id or customer id or
  102. 3:22something like that where that can be
  103. 3:24filled in on import or by you know when
  104. 3:26you create a requirement you can give it
  105. 3:27its own id
  106. 3:29this will enable us to import external
  107. 3:30source requirements with a reference to
  108. 3:32that requirement correctly put and then
  109. 3:34you can search by that so if
  110. 3:36i were a software engineer working in
  111. 3:38gitlab
  112. 3:39talking to my customers like hey i have
  113. 3:41some questions around requirement you
  114. 3:42know 726 i could search for requirement
  115. 3:45726 pull up our internal version of that
  116. 3:48and then show the linkages to the
  117. 3:49requirements i've created below that so
  118. 3:51i think that's probably the best route
  119. 3:53to go that keeps us with the same url
  120. 3:55scheme it keeps us with the same id
  121. 3:57scheme we have currently
  122. 3:58but it enables customers to still get
  123. 4:00what they're looking for
  124. 4:02by having that extra sort of like
  125. 4:04external id field or whatever we want to
  126. 4:06call it and that could be follow-on work
  127. 4:08that's not something we need off the bat
  128. 4:09we don't have that right now so it's not
  129. 4:10hurting anything
  130. 4:12the one thing i will mention along those
  131. 4:14same lines
  132. 4:16we currently allow people to export and
  133. 4:17import requirements
  134. 4:19and i've never quite understood how the
  135. 4:21ids work when that happens
  136. 4:23if i export requirements and i re-import
  137. 4:26them it puts them over the top of the
  138. 4:28existing id
  139. 4:30so
  140. 4:31if you were to export requirements from
  141. 4:33one project and import them into a
  142. 4:35different project
  143. 4:37what happens to the ids do they get
  144. 4:39assigned new ids or does it try to
  145. 4:41overwrite the ids i think we have a
  146. 4:44problem there right now that we might
  147. 4:45not have recognized
  148. 4:48so i guess my only word of caution is
  149. 4:50i'm fine going with standard ids the way
  150. 4:52we we currently have everything work i
  151. 4:54think that's the easiest path forward
  152. 4:55and it makes the most sense we just need
  153. 4:57to make sure that import export
  154. 4:58functionality isn't going to break
  155. 4:59things
  156. 5:02i will have to double check
  157. 5:04in source code but i believe that
  158. 5:07ids are not guaranteed on export import
  159. 5:11because it would be technically
  160. 5:13impossible uh right when you import
  161. 5:16on different deployment yeah
  162. 5:19that was my process
  163. 5:21i
  164. 5:22just i think that uh we guarantee the
  165. 5:25same internal id
  166. 5:27which is scoped to the project okay and
  167. 5:31i
  168. 5:32should check but i think that when
  169. 5:34referencing to requirements whether
  170. 5:37from test reports
  171. 5:39i think we
  172. 5:41use
  173. 5:42internal id or we use id
  174. 5:45okay it's it's something to check here
  175. 5:48but if we use internal id which should
  176. 5:51be
  177. 5:53consistent on import export and
  178. 5:57uh do you mean for requirement objects i
  179. 6:01i think we kept the
  180. 6:03old table just to have a difference to
  181. 6:05internal ids so
  182. 6:07we should be using general ideas
  183. 6:11correctly
  184. 6:14but that's if if the project you are
  185. 6:16imported doesn't have any requirements
  186. 6:18yet right because if they have a new
  187. 6:21import more than
  188. 6:23there is still conflicts possible
  189. 6:26yeah i think it's incrementally i mean i
  190. 6:28have to check so they will be different
  191. 6:32yeah sorry i was talking about importing
  192. 6:35exporting
  193. 6:36projects uh i
  194. 6:38now i realize you meant probably just
  195. 6:40exporting the csv list of
  196. 6:44of
  197. 6:45requirements
  198. 6:47okay so that's your yes different
  199. 6:49scenario
  200. 6:50right
  201. 6:51and the reason this is very far
  202. 6:52construction no no you're fine it gets
  203. 6:54confusing the reason this is tricky is
  204. 6:56if i create requirements
  205. 6:58and i export those requirements
  206. 7:00and then i re-import them to the same
  207. 7:02project they should have the same ids
  208. 7:04because if we're referencing them all
  209. 7:06over the place and the ids change that
  210. 7:07gets really confusing
  211. 7:09however
  212. 7:11i don't know if internally we're using
  213. 7:12the same id string i don't know how that
  214. 7:14works and this might be another use case
  215. 7:16for having that whole
  216. 7:18um
  217. 7:18secondary id field that we
  218. 7:21keep the same but we change it on the
  219. 7:23back and like i don't know how it wants
  220. 7:24to be solved again i don't want to solve
  221. 7:27the engineering problems here in the
  222. 7:29requirements but
  223. 7:30i just wanna that's that's sort of the
  224. 7:32goal is if i export requirements and
  225. 7:33imports them somewhere else the ids need
  226. 7:35to stay the same so people can reference
  227. 7:36those requirements by id number so
  228. 7:38however we want to do it is fine i just
  229. 7:40want to make sure we
  230. 7:41don't forget about that as we go through
  231. 7:42this
  232. 7:44i'm not sure if it was discussed before
  233. 7:46but uh having external id reference
  234. 7:50similar to for example security cves
  235. 7:53makes total sense to me and i believe
  236. 7:56that it's valid use case that for
  237. 7:57example you just want to take
  238. 8:00set of requirements and use them
  239. 8:02somewhere else together with your test
  240. 8:04cases and you will want to assure the
  241. 8:06integrity or consistency between both
  242. 8:09right so i think it's not sufficient to
  243. 8:11rely on
  244. 8:13id or eeid longer term
  245. 8:17maybe this could be another widget but
  246. 8:20yeah
  247. 8:21it's not timestamp
  248. 8:22exactly i think we have external id on
  249. 8:25issues though right and i think that's
  250. 8:26the same idea goes for you should i
  251. 8:29i'm kind of speaking on behalf of
  252. 8:31of gabe here but i i think it makes
  253. 8:33sense if someone
  254. 8:35imports external issues they want to
  255. 8:37reference them by same idea so i i think
  256. 8:39it kind of translates well into the
  257. 8:42issues thing as well and i think we have
  258. 8:44a column external id but i don't know if
  259. 8:46it's string or or integer i think it's
  260. 8:48string on the issues table
  261. 8:51it's a great point i wonder uh wasn't
  262. 8:54external issue id used for jira
  263. 8:57integration or something like that
  264. 9:00it's very supportive yeah i think
  265. 9:02it might conflict if you use both jira
  266. 9:06integration and at the same time you
  267. 9:10well
  268. 9:11well perhaps now it cannot probably
  269. 9:14cannot have two values right it cannot
  270. 9:16have a requirement and an issue value
  271. 9:17within the same external like they will
  272. 9:20conflict anyway i don't know if that's
  273. 9:22how somehow handled in jira in a
  274. 9:24different way but i'm just like we might
  275. 9:26want to be careful because there might
  276. 9:27be logic in there that says if that
  277. 9:29external id is non-null then that means
  278. 9:31there's an external jira issue and if we
  279. 9:33start using that for requirements we're
  280. 9:35going to get a lot of non-nulls that's
  281. 9:36going to look like there's jira issues
  282. 9:38when they're actually just requirement
  283. 9:39ids i don't know the logic behind it but
  284. 9:41i've seen people do goofy stuff like
  285. 9:42that in the past which is a perfectly
  286. 9:43valid use case until you go to extend it
  287. 9:45and then everything breaks
  288. 9:48there is also a type so if it's a type
  289. 9:50requirement and external id then you can
  290. 9:52have that yeah
  291. 9:54but then if we're going to be able to
  292. 9:55copy things from one type to another we
  293. 9:57can get ourselves into a really
  294. 9:58interesting situation if we copy a
  295. 9:59requirement to an issue
  296. 10:02then what happens to external id
  297. 10:05yeah
  298. 10:06so it's just
  299. 10:08it's no longer requirement in that case
  300. 10:10right when you're transferring the
  301. 10:11requirement to an issue you should not
  302. 10:13expect it to be a requirement anymore or
  303. 10:16i don't know how that works
  304. 10:19right so now it'll be type issue with an
  305. 10:21external id which then will imply it's a
  306. 10:23jira issue which may not be
  307. 10:26ideal yeah but then we can clean it up
  308. 10:28so at the moment when you do the type
  309. 10:31change from requirement to issue you
  310. 10:33kind of have to clean up that external
  311. 10:35id
  312. 10:39no that makes perfect sense i think this
  313. 10:41is where it's going to get really tricky
  314. 10:42and very hard to maintain if we're not
  315. 10:44smart about how we design the system and
  316. 10:45this is what i was alluding to in the
  317. 10:46previous call when we if we open up the
  318. 10:49idea of copying from one type to another
  319. 10:51we need to have a very crisp definition
  320. 10:53of how that works because otherwise
  321. 10:54we're gonna have to change code
  322. 10:56everywhere when we make small changes
  323. 10:58like this because we're gonna be like oh
  324. 11:00we can't forget to delete the external
  325. 11:01id when you move from a requirement to
  326. 11:03an issue what happens if you remove if
  327. 11:04you move from a requirement to a task do
  328. 11:06we have to delete it then like it just
  329. 11:08becomes this very
  330. 11:09convoluted mess of lots and lots of
  331. 11:11custom functions here and there that are
  332. 11:13going to be hard to maintain
  333. 11:15i think we might want to spend a little
  334. 11:16bit of time before we implement the
  335. 11:18copying
  336. 11:19really understanding how that's going to
  337. 11:21look and how that's the most efficient
  338. 11:22on the back end so we can then design
  339. 11:24around an efficient plan and we don't
  340. 11:26get ourselves in the situation of having
  341. 11:29a function for every transfer that's
  342. 11:31very hard to maintain just a thought
  343. 11:39any
  344. 11:40go ahead
  345. 11:41you mean in scenario when you change the
  346. 11:45for example test case to requirement or
  347. 11:48you change requirement to issue type
  348. 11:50right
  349. 11:51this is switching the type on yeah work
  350. 11:54items
  351. 11:55right
  352. 11:56yeah this is something that gabe feels
  353. 11:58very strongly about that we should be
  354. 11:59able to move things between
  355. 12:01types
  356. 12:03i can't see a use case for some of these
  357. 12:06but again i think if we're going to do
  358. 12:07it for one we should just make it a
  359. 12:09blanket ability
  360. 12:11to try to keep consistency so i i'm i'm
  361. 12:13for it in that sense
  362. 12:15it's just when you have strange things
  363. 12:17like verification status on a
  364. 12:18requirement and you move it to an issue
  365. 12:21you're gonna lose that which is fine
  366. 12:24do we then log a system note that says
  367. 12:26this was copied over and here's the old
  368. 12:28information like where does that data go
  369. 12:29what do we do with it how do we do the
  370. 12:31transfer there's just a lot of moving
  371. 12:33parts there that are going to be
  372. 12:36if if not thought through at the
  373. 12:38beginning we're going to end up in a
  374. 12:39situation that could be very complicated
  375. 12:41for us to maintain
  376. 12:43oh as you know uh yeah
  377. 12:46yeah i think it was raised before go
  378. 12:48ahead yeah i'm sorry
  379. 12:50so i remember we touched some discussion
  380. 12:53how to deal with uh with existing data
  381. 12:56when you switch type
  382. 12:58and i think there was no
  383. 13:01just
  384. 13:02decision yet right personal opinion
  385. 13:05would be at least for the first
  386. 13:07iteration it would make sense to
  387. 13:10not try to preserve any data for all
  388. 13:13type and just
  389. 13:15make sure that
  390. 13:17you keep only
  391. 13:19valid new new type
  392. 13:22validator for the new type and just drop
  393. 13:26anything related to the old type without
  394. 13:29trying to keep some
  395. 13:31old records or something like that
  396. 13:34because
  397. 13:35then it gets very easily very
  398. 13:37complicated when you try to remember
  399. 13:40status for old type of the object
  400. 13:44so i would expect that if you change the
  401. 13:46requirement to issue
  402. 13:50then user is warned that actually
  403. 13:54some data may be lost and by this
  404. 13:56changing
  405. 13:58you lose all the data
  406. 14:00relay specific to requirement which are
  407. 14:02not available on the new type okay for
  408. 14:05example the external id or something i
  409. 14:08think that makes sense and i would
  410. 14:09probably you know we can talk to the
  411. 14:11design team but it would be something
  412. 14:12like when you change a template of an
  413. 14:13issue you get that warning that's like
  414. 14:15warning this will overwrite your
  415. 14:16existing description it's something
  416. 14:18similar to that like warning if you're
  417. 14:19changing to another type you will lose
  418. 14:21all type specific data
  419. 14:24i think that's perfectly valid
  420. 14:26i think that in future there is also the
  421. 14:28case where you define that some types
  422. 14:31cannot move to some different types like
  423. 14:33the same as gabe is talking where you
  424. 14:35cannot
  425. 14:37link some something as a parent to a
  426. 14:39task where
  427. 14:40right a task cannot have a parent as a i
  428. 14:42don't know a requirement for instance
  429. 14:44then you can also we can also think of
  430. 14:46covering rules you cannot move a
  431. 14:47requirement to a i don't know to a task
  432. 14:50or something something like that or a
  433. 14:52requirement to an incident or i don't
  434. 14:54know right
  435. 14:56you know how i've and this is i
  436. 14:58mentioned this briefly this is how i've
  437. 14:59always handled this in the past when we
  438. 15:00did this sort of thing is
  439. 15:02every type had like every field or
  440. 15:06widget or piece of data had a bit in a
  441. 15:08bit field or a bit mask and then every
  442. 15:10type had an associated bit mask so to
  443. 15:12know what to display you just and the
  444. 15:14bitmask with the current
  445. 15:17items
  446. 15:18series of bits and it would tell you oh
  447. 15:20if this exists then display this and
  448. 15:22then that's how you'd go through and
  449. 15:23handle that so it didn't matter if the
  450. 15:24data was there or not in the fields on
  451. 15:26the back end of the database it was
  452. 15:28effectively invisible because when you
  453. 15:29masked it for the display purposes so if
  454. 15:31you're saying oh i'm displaying an issue
  455. 15:33mask the issue type over the top and
  456. 15:35that's the data i display it made it
  457. 15:36really transparent and easy and you
  458. 15:38didn't have to fuss and change and
  459. 15:40delete and add and copy things over you
  460. 15:43just masked it on top of it and that's
  461. 15:44that so if you moved it from an issue to
  462. 15:46a requirement type
  463. 15:48you just change this type somewhere and
  464. 15:50then when you go to display it you'd say
  465. 15:52oh it's a issue type display everything
  466. 15:54that you know based on this masking this
  467. 15:56is what we display so the data is still
  468. 15:58there on the back end nobody really
  469. 15:59cares you won't see it you can't do
  470. 16:01anything with it you can't interact with
  471. 16:02it and then every time you go to do an
  472. 16:04interaction like i want to close this so
  473. 16:06somebody clicks the close button you say
  474. 16:07is close allowed you masked it with
  475. 16:09allowable behaviors if close
  476. 16:12is allowed you do it if not you return
  477. 16:14an error
  478. 16:16type of thing
  479. 16:17yeah but
  480. 16:20i think it's elegant solution but a
  481. 16:22concern would be that then you have
  482. 16:24effectively
  483. 16:26invalid uh objects or models on backhand
  484. 16:30side yeah because right you just
  485. 16:33keep allowing to
  486. 16:34[Music]
  487. 16:35for example have invalidate associations
  488. 16:38so if i would
  489. 16:39have epic with
  490. 16:41child epics and switch a picture task
  491. 16:44i would allow this change and i would
  492. 16:48have hidden
  493. 16:49old childs on backhand side uh on
  494. 16:53still start
  495. 16:54but i would just not display them right
  496. 16:58that's where it gets difficult when you
  497. 16:59talk about hierarchies it breaks when
  498. 17:01you're talking about associations it
  499. 17:02works really well for fields like are
  500. 17:04labels allowed is there a secondary id
  501. 17:07are comments allowed can you close like
  502. 17:09all of those very finite boolean
  503. 17:11operations it makes a ton of sense when
  504. 17:14you start talking about relationships
  505. 17:17that's almost where you need like a
  506. 17:18callback like every time you switch from
  507. 17:20a requirement to another thing you have
  508. 17:22a requirements callback where it goes
  509. 17:23through and clears out stuff every time
  510. 17:24you switch from a parent type you have
  511. 17:27some sort of callback where it clears
  512. 17:28out it's just it's going to get
  513. 17:29convoluted quickly if we're not careful
  514. 17:32again i don't want to propose a solution
  515. 17:34i'm more interested in proposing the
  516. 17:35concept of
  517. 17:37let's
  518. 17:38design it before we get too far down the
  519. 17:40rabbit hole with this stuff so that
  520. 17:41we're not having to then back things out
  521. 17:43and change things and and i think it's
  522. 17:45one of those core constructs that if we
  523. 17:46do intend to support it
  524. 17:48it needs to be well understood
  525. 17:51sooner rather than later would be my
  526. 17:53prof preference but that's again if
  527. 17:55y'all aren't worried about it i won't
  528. 17:56worry about it either
  529. 17:58yeah i'm kind of curious what are others
  530. 18:01thought about this
  531. 18:03my thinking was originally because i
  532. 18:06don't have a good answer for this at
  533. 18:08this point if we go the destructive way
  534. 18:11it still allows us to improve this in
  535. 18:14future yeah so if we start with
  536. 18:17okay for now
  537. 18:19everything is lost we can still improve
  538. 18:21it later and
  539. 18:22start preserving some status yeah so
  540. 18:26it's more easier to go from this
  541. 18:29state to
  542. 18:30improvement than the other way but yeah
  543. 18:33if we agree
  544. 18:35i i'm really curious what what
  545. 18:38what would we first
  546. 18:40product management requirements about
  547. 18:43this preservation of
  548. 18:46all data and second what are ideas how
  549. 18:49to solve this this bitmapping is for
  550. 18:52sure interesting and if there would be a
  551. 18:54requirement from product we should
  552. 18:57preserve this we might consider this for
  553. 18:59example at least for scalar values or
  554. 19:02simple fields as you mentioned or
  555. 19:04something like that i don't know
  556. 19:06i completely agree i'd rather err on the
  557. 19:07side of getting rid of data
  558. 19:10now because we can always preserve it
  559. 19:12later
  560. 19:13in a system and a hierarchy that we've
  561. 19:15designed to work if we try to preserve
  562. 19:18it now
  563. 19:19and then we change the system or the
  564. 19:20hierarchy we end up in a situation we
  565. 19:22have to go back and migrate our
  566. 19:23databases in a non-trivial manner to
  567. 19:26clear things out or fix things
  568. 19:28i i think you're absolutely right if
  569. 19:30we're if we're not sure what the
  570. 19:31requirements are around preservation of
  571. 19:33data
  572. 19:34the best thing to do is delete those
  573. 19:36things that don't apply and just be done
  574. 19:38with it
  575. 19:39because that way if you do go from let's
  576. 19:41say a requirement to an issue
  577. 19:43verification status is gone it's lost
  578. 19:45that's fine
  579. 19:47um you know those about labels would
  580. 19:49they go away or would they stay
  581. 19:51in theory they both support labels so
  582. 19:53they'd stay they both that's a field
  583. 19:55that's you know
  584. 19:57comments same thing if we allow comments
  585. 19:58and requirements comments on issues
  586. 20:00would they stay i don't know i think
  587. 20:02they probably could but anything that's
  588. 20:04not supported i agree we should get rid
  589. 20:05of for now as a first iteration because
  590. 20:07that will make our life infinitely
  591. 20:09simpler
  592. 20:10if we ever do go down a path where we
  593. 20:11want to start saying okay we're going to
  594. 20:13take the external id field and we're
  595. 20:14going to turn it into something else
  596. 20:16we're going to perform a transformation
  597. 20:18it'll allow us to then do that in an
  598. 20:20educated and systematic way rather than
  599. 20:22trying to go back and fight with
  600. 20:24all the things we kept that we shouldn't
  601. 20:26have
  602. 20:28so yeah very okay with that
  603. 20:30i agree and i think we can also then do
  604. 20:32it incrementally like we are now
  605. 20:34defining how requirements move to issues
  606. 20:37and do that well and then requirements
  607. 20:40move to epics do that well and so on so
  608. 20:42all these types can be taken separately
  609. 20:45and can be implemented separately as a
  610. 20:47separate iteration or step
  611. 20:49uh rather than allowing it initially but
  612. 20:51yeah i totally agree
  613. 20:52yeah and my concern and the reason i
  614. 20:54kind of brought this up is my concern is
  615. 20:55if we add an additional field down the
  616. 20:57road
  617. 20:59and we add it to six of our ten types
  618. 21:02do we really want to have to go through
  619. 21:03every transformational function and
  620. 21:05figure out whether or not we should do
  621. 21:06and modify 10 to 15 different locations
  622. 21:09for the transform 2 and transform away
  623. 21:11from functions to account for this new
  624. 21:13thing
  625. 21:14i just want to make sure the maintenance
  626. 21:16doesn't outweigh the benefits and that's
  627. 21:17that's the only thing is if we do it
  628. 21:18intelligently hopefully we won't have to
  629. 21:21it's just
  630. 21:22we can incur a high maintenance cost if
  631. 21:24we have custom functions for every
  632. 21:25transform that we have to now modify
  633. 21:27every time we add an additional database
  634. 21:30piece of data
  635. 21:34yeah all right
  636. 21:36just further in the future i think it
  637. 21:38boils down to really letting the
  638. 21:40customers map out how things migrate
  639. 21:42from one type to another right because
  640. 21:44if you think it in terms of of custom
  641. 21:47kills custom data on on a requirement or
  642. 21:50something else and then you move it to a
  643. 21:52different type how do you move that data
  644. 21:54to a different to a different type you
  645. 21:56kind of have to ask the customer which
  646. 21:58data needs to move to which new or
  647. 22:00different
  648. 22:01custom field custom column and so on but
  649. 22:03yeah that's
  650. 22:05the future yeah the complexity goes up
  651. 22:07dramatically and i think that's the
  652. 22:09concerning part so
  653. 22:10just things to think about i think for
  654. 22:12now we've got a very good plan forward
  655. 22:13if there's any more questions about any
  656. 22:14of this stuff i would be happy to answer
  657. 22:17them either in slack set up another sync
  658. 22:19in two to three weeks when we're
  659. 22:20actually in the midst of implementing
  660. 22:21this
  661. 22:22whatever works for everyone just please
  662. 22:24let me know i'm happy to talk to this
  663. 22:26stuff as much as necessary to make sure
  664. 22:28we are successful
  665. 22:31so the plan is to implement this
  666. 22:33external
  667. 22:35id now or
  668. 22:38we don't currently have the
  669. 22:39functionality so it would not be a loss
  670. 22:41of functionality to not have it
  671. 22:43i think it should be a fast follow type
  672. 22:46of thing if we want to but i don't think
  673. 22:49it's required for the initial iteration
  674. 22:51if that makes sense
  675. 22:53yeah uh so what is the additional
  676. 22:56iteration just so yeah probably i'm
  677. 22:58totally on the loop so
  678. 23:00actually that's my question too
  679. 23:03i think the initial iteration is we
  680. 23:04don't want to necessarily lose any
  681. 23:05functionality so i think in order for us
  682. 23:07to successfully take issue or
  683. 23:09requirements and display them in a new
  684. 23:12manner using the different back end
  685. 23:14instead of using the requirements back
  686. 23:15end using the work items back end we
  687. 23:17need to be able to support verification
  688. 23:18status
  689. 23:20we need to be able to support um
  690. 23:22description title
  691. 23:25what else was on there i think i wrote
  692. 23:26this up when i tried to define some
  693. 23:28requirements on this i tried to dog food
  694. 23:29requirements do it i think that's the
  695. 23:31three major things we needed to do
  696. 23:33verification status was i think the only
  697. 23:35thing we didn't already have a
  698. 23:37comparable item for
  699. 23:39and that's where
  700. 23:41that was where the bulk of the work was
  701. 23:42going to end up if i wasn't mistaken
  702. 23:46otherwise uh let me go outside go ahead
  703. 23:48no go ahead
  704. 23:50uh so the main goal would be turning the
  705. 23:52current verification status that we have
  706. 23:54all the functionality into some kind of
  707. 23:57widgets uh
  708. 23:58like yang is
  709. 24:00made a good spike a great spike for
  710. 24:04parent child tests
  711. 24:06so
  712. 24:07that would be it
  713. 24:09that's my understanding yes
  714. 24:13all right so that's the reason i invited
  715. 24:15you because since you worked at the i
  716. 24:17think the first concept of work i think
  717. 24:19uh it gets maybe we have to do something
  718. 24:22more
  719. 24:23uh compatible between both and
  720. 24:26like
  721. 24:27from my understanding the api should be
  722. 24:30should be a default pattern for all
  723. 24:32videos so
  724. 24:34that's why i invited him to like
  725. 24:37make sure we are doing we are at the
  726. 24:39same table
  727. 24:43yeah so uh
  728. 24:46if
  729. 24:47so
  730. 24:48if we are aiming for having a widget for
  731. 24:51showing the status
  732. 24:55whether it's passing or failing
  733. 24:58uh then
  734. 25:00then
  735. 25:02i think it might be
  736. 25:06it might be quite easy to implement
  737. 25:09another
  738. 25:10read widget
  739. 25:13it might be more work to implement the
  740. 25:17creation of this data
  741. 25:20because i'm not sure we already have
  742. 25:24create action for
  743. 25:26another widget
  744. 25:28but it's
  745. 25:32but it's doable too
  746. 25:34it's part of the poc i edit
  747. 25:39as an inspiration
  748. 25:41uh
  749. 25:42one thing asks
  750. 25:45yes sir
  751. 25:46sorry uh
  752. 25:48so is it okay to skip the creation have
  753. 25:51something
  754. 25:52hard call it
  755. 25:53is that an option
  756. 25:57yeah
  757. 25:58so
  758. 26:00if we
  759. 26:01we are if the status is taken from
  760. 26:04somewhere else or
  761. 26:06just set from this example from ci job
  762. 26:09you can still just display it or
  763. 26:12create it from other create service it
  764. 26:14doesn't have to be created through a
  765. 26:16widget operation
  766. 26:18i mean
  767. 26:19it doesn't have to be
  768. 26:21part of the
  769. 26:24changing widgets as part of the work
  770. 26:26item mutation if you know what i mean
  771. 26:31you'll have to change the status
  772. 26:34whatever way you want if you are aiming
  773. 26:36just for showing the status in widgets
  774. 26:39on work item page
  775. 26:42so
  776. 26:44if you look at that spike issue that's
  777. 26:45linked i think what we had is the
  778. 26:47default value is unverified so basically
  779. 26:50we have this in the database already
  780. 26:52it's written by the ci report job as my
  781. 26:54understanding
  782. 26:56so
  783. 26:57also manual setup or manual correct
  784. 27:00so the widget if there's nothing there
  785. 27:02in that field would just display
  786. 27:04unverified would be my thought
  787. 27:07if somebody clicks the box to say manual
  788. 27:09verification it would switch to verify
  789. 27:11and i think that's outlined in the spike
  790. 27:13issue i these are the requirements i
  791. 27:14actually wrote so if there's questions
  792. 27:16about this on how to go about it like on
  793. 27:19what it should be displaying we can talk
  794. 27:20about that but i
  795. 27:22thought this wasn't a horrible ask
  796. 27:24because we already have the data it's
  797. 27:26just a matter of how to display it
  798. 27:29yeah the one problem is how did we have
  799. 27:32the data the data now is really it's
  800. 27:34tied up to test reports
  801. 27:37so
  802. 27:37[Music]
  803. 27:39that's how it works now a test report is
  804. 27:42what determines the verification status
  805. 27:44of a requirement
  806. 27:46but
  807. 27:49uh yeah so maybe for this we could
  808. 27:51detect it or something but something
  809. 27:54i can think about later in most of the
  810. 27:57issue or
  811. 27:59maybe create a poc and see
  812. 28:02what is better
  813. 28:04so when they're reporting cisd pipeline
  814. 28:06you're saying it changes the test report
  815. 28:08it's so you have to go out to the test
  816. 28:09report to get that it's not updated in
  817. 28:11the database anywhere
  818. 28:13no actually the verification status of a
  819. 28:15requirement is the latest test report
  820. 28:18created status
  821. 28:20which is created by the pipeline so it's
  822. 28:23it's not a field on the on the
  823. 28:25requirement or at the work item it's a
  824. 28:28record it's a test point record
  825. 28:30so when you create a requirement right
  826. 28:32now it actually has a new a new value on
  827. 28:35that field
  828. 28:39actually not that field because it
  829. 28:41doesn't have any test report records
  830. 28:43it's the replication status is known
  831. 28:47so when we manually
  832. 28:50verify it or manually unverify it
  833. 28:53what it does is create a new test report
  834. 28:56with the designs
  835. 28:58got it
  836. 29:01thank you that helps i did not realize
  837. 29:03that was it was that level of complexity
  838. 29:05that makes perfect sense actually
  839. 29:12uh all right yeah so
  840. 29:15so that's it from my side this is
  841. 29:17something i actually think about how we
  842. 29:18could go maybe have some help from young
  843. 29:21and see how we can
  844. 29:23tackle
  845. 29:24this we did with it and
  846. 29:26the current ones
  847. 29:28that we are working on and see what
  848. 29:31how it feels
  849. 29:33are we aiming here only
  850. 29:36the new work item show page or
  851. 29:40our id are we aiming also issue show
  852. 29:43page
  853. 29:44just to clarify the same confusion there
  854. 29:46was foreign
  855. 29:49no well i thought
  856. 29:51up until our last meeting an hour ago we
  857. 29:54were aiming for the work item show page
  858. 29:56so it looked like a work item then
  859. 29:57somebody said hey why don't we keep the
  860. 29:59drawer around and that sort of threw me
  861. 30:01for a loop because i thought the drawer
  862. 30:02was going away so my understanding is
  863. 30:05we're trying to make this display as a
  864. 30:06work item however that's going to look i
  865. 30:09don't really care i realize we may lose
  866. 30:11that drawer
  867. 30:13in the meantime and we may be bringing
  868. 30:14that back for every work item type but
  869. 30:16that's in the future i wasn't going to
  870. 30:18worry about that
  871. 30:20my basic thing was i wanted to
  872. 30:21transition people over from the
  873. 30:23requirements to the work item types
  874. 30:25because then we can start adding things
  875. 30:26like comments
  876. 30:28labels
  877. 30:30relatively easy because those are
  878. 30:32underlying work item things we can just
  879. 30:34enable for requirements so whatever gets
  880. 30:36us there quicker is probably
  881. 30:38my preference
  882. 30:40i think the biggest thing is this
  883. 30:41verification status and that's sort of
  884. 30:43what's
  885. 30:44this is about
  886. 30:47but
  887. 30:48yeah i think we're we're using the work
  888. 30:50item show page with my understanding
  889. 30:52unless people have a problem with that
  890. 30:57and uh based on
  891. 30:59what i spoke with uh john in our
  892. 31:01one-on-one earlier this week uh i
  893. 31:03believe that regardless of how we want
  894. 31:05to show requirements i believe we are
  895. 31:07going away with the draw so we need a ux
  896. 31:10designer to work on the updated layout
  897. 31:12of the page because right now
  898. 31:14the work item page that we have
  899. 31:16currently is more or less a playground
  900. 31:19to test work item widgets it doesn't
  901. 31:21represent any concrete object that we
  902. 31:23use in production so
  903. 31:25if we want to start using all those
  904. 31:27widgets on a requirements page then we
  905. 31:29would need some ux guidance on how to
  906. 31:32show a requirements page
  907. 31:34both for create and edit and uh
  908. 31:37so any uh design decisions uh which are
  909. 31:40supposed to be taken will need to spike
  910. 31:42on that as well and uh
  911. 31:43i believe alexis will get assigned to
  912. 31:46this particular issue to work on the
  913. 31:48designs before we are ready for
  914. 31:50implementation
  915. 31:51sounds good there is some other
  916. 31:54designer that was supposed to provide
  917. 31:55some assistance for us as well let me
  918. 31:56check with melissa on that she was
  919. 31:58trying to align to get some additional
  920. 32:00bandwidth in ux because i know alexis is
  921. 32:02very busy so
  922. 32:03we will see what we can do there let me
  923. 32:05take an action out of this to go verify
  924. 32:08um the design effort is going to be
  925. 32:10handled and we have that prioritized
  926. 32:12correctly
  927. 32:15[Music]
  928. 32:18yeah one more note about the
  929. 32:21ui
  930. 32:23originally i thought that
  931. 32:26when
  932. 32:27currently with migration of requirements
  933. 32:30to issues i we are at this phase that
  934. 32:35when a requirement is created we
  935. 32:36actually create an issue uh issue record
  936. 32:40and for requirements we still create a
  937. 32:44requirement record but we delegate
  938. 32:47fetching all the fields to the issue
  939. 32:51issue model which is connected with the
  940. 32:53requirement
  941. 32:55the main reason why we still keep the
  942. 32:57requirement
  943. 32:59records is because of
  944. 33:02api backward compatibility
  945. 33:05which we will have to keep for at least
  946. 33:08six months
  947. 33:09until
  948. 33:10from when we deprecate it and we haven't
  949. 33:12deprecated yet
  950. 33:14because
  951. 33:16because we don't have a
  952. 33:18functional replacement
  953. 33:20on api level for working with
  954. 33:23requirements
  955. 33:25originally i thought that
  956. 33:28users could just
  957. 33:30users and front-end could just use
  958. 33:33issues api to just work with
  959. 33:36requirements just as any other type
  960. 33:39then based on discussions now and on
  961. 33:42weekly call it might be that they would
  962. 33:44rather use directly work items graphql
  963. 33:47api
  964. 33:48instead of issues graphql api
  965. 33:53and
  966. 33:54then if this then
  967. 33:57when front-end starts using this new api
  968. 34:00we can deprecate requirements api and
  969. 34:02drop
  970. 34:04the requirements records after the
  971. 34:06application periods
  972. 34:08if it makes sense
  973. 34:10so
  974. 34:12well why i'm discu
  975. 34:14pointing this out we we should be aware
  976. 34:17that this is the reason why we are
  977. 34:19keeping the requirements record and it
  978. 34:21should be
  979. 34:22somewhere on our roadmap to
  980. 34:25actually switch both front end and
  981. 34:30referencing requirements through
  982. 34:33different id then requirements id
  983. 34:37for example work items id or something
  984. 34:39yeah
  985. 34:40because
  986. 34:41these are the reasons why we have to
  987. 34:43keep around this in sync between
  988. 34:45[Music]
  989. 34:47requirement and issue record
  990. 34:50so
  991. 34:51sorry for guys
  992. 34:53no problem sorry for interrupting you i
  993. 34:55have i have an appointment this call
  994. 34:57took a
  995. 34:58bit longer than expected so i would just
  996. 35:00watch the recording later or maybe you
  997. 35:03can sync another one so
  998. 35:05i'll show you
  999. 35:07is that all right
  1000. 35:09works for me
  1001. 35:11all right so i'll be leaving and i'll
  1002. 35:12watch the rest later thank you
  1003. 35:16thank you
  1004. 35:17i'm going to ask why we could not
  1005. 35:20deprecate like can we duplicate
  1006. 35:22requirements
  1007. 35:23api
  1008. 35:25now
  1009. 35:26we can still continue to use it on the
  1010. 35:28front end and whatnot but i guess the
  1011. 35:30bigger question is
  1012. 35:32is our graphql api on issues work items
  1013. 35:37able to handle the requirements
  1014. 35:39basically so so once we deprecated is
  1015. 35:42there something that we can direct our
  1016. 35:43users to use instead right
  1017. 35:48yeah that's a good point so uh no i
  1018. 35:51think there are still uh two
  1019. 35:55missing bits i think that
  1020. 35:57test reports are not exposed through the
  1021. 36:01issues api and it's supposed to be done
  1022. 36:04through these
  1023. 36:05widgets api
  1024. 36:08which will be part of the work item set
  1025. 36:11api so
  1026. 36:14so when so now the answer is we don't
  1027. 36:17have a replacement
  1028. 36:19for requirements api yet and that's the
  1029. 36:22reason why it's not deprecated yet it
  1030. 36:25would be weird to replicate it now when
  1031. 36:28there is no replacement
  1032. 36:32right right like
  1033. 36:33my thinking was more like
  1034. 36:35duplication doesn't steal means removing
  1035. 36:37people can still use it but obviously we
  1036. 36:40should have something in place when you
  1037. 36:41say something is deprecated you should
  1038. 36:42yes exactly very alternative uh so they
  1039. 36:46can do the transition
  1040. 36:48yeah
  1041. 36:50we could deprecate it now but it's weird
  1042. 36:53because the point of the application
  1043. 36:54period is that you have time to
  1044. 36:56migrate to the new
  1045. 36:58api and we don't have this
  1046. 37:01so
  1047. 37:14well i i don't have any questions from
  1048. 37:17my side because i was mostly just
  1049. 37:21catching up or watching because felipe
  1050. 37:24is driving this spike so
  1051. 37:27yeah
  1052. 37:29excellent well you know i really
  1053. 37:29appreciate this i really enjoyed the
  1054. 37:31discussion hopefully this was
  1055. 37:32enlightening for everybody i've learned
  1056. 37:33a lot here so that's good there's any
  1057. 37:35other questions just let me know and i
  1058. 37:37will go ahead and update this video to i
  1059. 37:39guess a youtube channel somewhere and
  1060. 37:41point john at it because i know he was
  1061. 37:43very interested so
  1062. 37:44thank you again for your time if there's
  1063. 37:45any more questions feel free to reach
  1064. 37:47out
  1065. 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.