In order for the defect to be automatically closed based on the issue status in Jira, you need to have a webhook configured.
You can read more about this here:
https://docs.qameta.io/allure-testops/integrations/jira-software-cloud/#4-enable-synchronization-of-the-issue-lifecycles
Defect closure is based on the fieldId parameter.
If you have a webhook configured and the defect has not been closed, you need to review the log of your webhook. On the left side, you can see the log with the defect successfully closed, and on the right side, the log where the defect has not been closed.
Please note that since the fieldId is missing on the right side, the defect has not been closed. This happens when the workflow on the Jira side is not configured correctly. In this case, you will need to adjust your workflow and ensure that the fieldId is being passed correctly.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article