XRay prevent changing test status if Jira ticket status is already set to done

Stefan Mengele August 8, 2023

Hi community,

we are working with Xray and Jira. We have one small issue in fact the xray test status can be changed to any status even the Jira ticket status is set to done.

What we did is to update the workflow property with jira.permission.edit.denied. 

The result is that the ticket can not longer be changed (as expected) but the xray test status can still be changed. 

Is it possible to block this if ticket is set to done

 

1 answer

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2023

Hi @Stefan Mengele 

i just saw you opened a seperate question therefore I will copy my answer from this post here too. Please be so kind an click the accept button in order to mark this question as answered and make easier for other users to find appropriate solutions when faced with similar problems:

Hi @Stefan Mengele 

 

I know it´s not always that obvious and it can be confusing (especially in the context of XRAY) as those issue types behave differently and eg. the test execution issue contains of test runs, which is a section of "objects" that lives within xray and test executions but they are not native jira issue on their own =S

sooo....regarding your question:

  1. If you would like to have all native fields of your test execution issue prevented from being edited then the workflow property as described above is the way to go. As mentioned this covers all jira native issue fields but not the test run. therefore -->
  2. there is an option in the project settings/xray/misc to disallow executions/runs within a specific workflow status (see screenshot). This will prevent any test runs in the test execution issue to be run 

    image.png

 

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 18, 2023

Hi @Stefan Mengele 

any feedback? would you be so kind to accept the answer so that this issue gets marked as resolved and make it easier for other users to find solutions?

Thanks in advance.

Best
Stefan

Stefan Mengele August 18, 2023

Works perfectly!

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events