Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-10487

It is still possible to add precondition to test when in an uneditable status

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC - v7.9.0
    • Continuous Delivery
    • Pre-conditions
    • None
    • Xray 2024 S10
    • UNCOVERED

    Description

      Description
      When we give a Jira status the uneditable property (jira.issue.editable = false) and apply it to the precondition, we are not able to add it to a test from the precondition issue, but we are able to add the same uneditable precondition from the test issue.

      Pre-conditions

      How to reproduce

      1. Go to Project Settings >> Workflows >> select the pencil (Edit) for the workflow being used
      2. Select "View Properties" from the status you want to test, In my case I used "DONE".
      3. In Property Key add "jira.issue.editable" and in value "false"
      4. Go back to the workflow page and publish the changes.
      5. Create a new precondition and give it the status with the uneditable property
      6. Create a new test and click "Add Pre-Conditions" in the Pre-Conditions section.
      7. Select "Existing Pre-Conditions" and pick the precondition previously created.

      Actual result/Attachments

      We are able to add this precondition to the test

      Expected result

      This precondition should be blocked from being added to the test, or not show in the search menu.

      Version

      • Xray 7.9.0-J9

       

      Recording:

      Attachments

        1. Precon.gif
          6.51 MB
          Gonçalo André Sousa Nunes

        Activity

          People

            dpca Diamantino Campos
            goncalo.nunes Gonçalo André Sousa Nunes
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: