Skip Navigation LinksHome Page > Forums > Integrations & Plug-Ins > Version Control Integrati... > Some general issues on Ve...
We're a medical (software) device manufacturer and have started using Spira for a few months now. We're now testing Source Code integration via Git, and it seems to work great. However, I have several questions about this part - since they're all about the same topic, I will combine them in one thread:
2. For traceability purposes, we'd like to link Artifacts (requirements and testcases) with Source Code. Use case: since we are using specification-by-example with Gherkin feature files, we consider the feature files to be an extension of our requirements/test cases. Therefore it's perfect to be able to link them with those artifacts. I can either create a link from a source file to an artifact, or add a source code attachment to an artifact, accomplishing the same thing.
However, when I do this, there is this strange effect where the same source file is automatically added an X number of times to the artifact attachments. If I delete one of these attachments, they are all deleted at once. I wonder what is causing this and if it is a bug or intended behavior. When I add a source code REVISION to the artifact associations, this does not happen. However, in that case I have to specify a branch. When adding a source code attachment, no branch is specified - so I am wondering if the code file is attached once for each existing branch? The fact that when I view the 'version' column, some of the attachments have a different revision, seems to confirm this...
Anyone encountered this? Ideally, I simply want to add a source code attachment for ONE branch (Develop or Master). Is this possible?
3. Is it possible to limit the source code synchronization in general to only one or a specified set of branches? We use GitFlow, and in general, most branches we use are short-lived and considered 'draft' code. We typically want to have the Spira artifacts linked with one single Develop or Master branch. Is there any way to limit the branches Spira 'knows' about ?
4. The attachment links mentioned in 2 don't seem to be retrievable via custom Report queries, and will not show up in the Attachment tables (neither will ArtifactAssociations have the links between Source Files and other artifacts). It would be a benefit to be able to include certain kinds of Source Code files into a document (like said Gherkins). Does anyone know if there any other way to do this? Apart from using the REST interface and build your own custom solution?
Your post has good timing, we're working on some major enhancements on the Source Code Management / Version Control features of SpiraTeam and SpiraPlan that will be either in v6.6.1 or v6.7 depending on the timing.
Regarding your specific questions/suggestions:
David: great stuff. Can't wait to see those next releases.
1. Formats we are currently using but cannot be previewed right now:
* .ts, *.tsx (about 95% of our front end code...), *.json, *.yml, *.bat, *.feature, *.svg
2. I can link with a revision/commit, but that doesn't give me one single source file - a revision can contain many source files. We want to link revisions with Issues (which will be the vehicle for our Chang Control process)
Thanks for the response!
I mean Incidents
Thanks, I have logged an incident internally for the missing filetypes.