Skip to content

Multiple checkbox-results for the same checklist-item #404

@buwisar

Description

@buwisar

Hi,

I have a checklist with items like

.. checklist-item:: QUE-SWAD_CHECKLIST_A_1 General project relevant information are defined?
.. checklist-item:: QUE-SWAD_CHECKLIST_A_2 Context of the System is defined?

I put my review record to a file like 001_review_record.rst with the checklist results like

.. checkbox-result:: QUE-SWAD_CHECKLIST_A_1 yes
.. checkbox-result:: QUE-SWAD_CHECKLIST_A_2 no

.. item-attributes-matrix:: Questions and answers Iteration 1
    :filter: QUE-SWAD_CHECKLIST_A_
    :attributes: checked

Then I create another review record in 002_review_record.rst with the same checklist results like

.. checkbox-result:: QUE-SWAD_CHECKLIST_A_1 yes
.. checkbox-result:: QUE-SWAD_CHECKLIST_A_2 yes

.. item-attributes-matrix:: Questions and answers Iteration 2
    :filter: QUE-SWAD_CHECKLIST_A_
    :attributes: checked

Then in the rendered document I go to the page of 001_review_record and I see both results as 'yes'. It means the plugin always takes the latest checkbox-result value that it sees and puts it into all item matrices.
I would like the checkbox results to be local to the file where they are set, so that the item matrix rendered in 001_review_record shows 'yes', 'no' and the item matrix rendered in 002_review_record shows 'yes', 'yes'. Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions