Closed Rubyfi closed 1 year ago
This got solved with #50, which supports jinja in mapping fields. But it is not released yet.
Another solution could be to use needs_string_links: https://sphinxcontrib-needs.readthedocs.io/en/latest/configuration.html#needs-string-links And just add the ID as an option value. need_string_links converts this then to a codebeamer-specific link.
Thank you for the input, I'm using the sne
command-line tool to generate a needs.json.
I had a look at needs_string_links
but sne does not seem to recognise this option.
Nevertheless, my current workaround is to use a post-processing script after the export to insert the link.
This sufficient for now.
I'm currently working on a tool that exports Needs from a codebeamer instance. I'd like to store the link to the codebeamer issue a need was generated from in a separate field (instead of the description like in the example). My config currently looks something like this:
However, in the mapping, the ID value isn't properly substituted:
While there is a workaround in this use-case, I was wondering whether this is possible in the configuration.