Hello,
I’d like to set up a Jira automation rule to be triggered upon a change to issue related scenarios.
If I understand correctly, the smart value for this is {{issue.properties.assertthat-scenarios.total}}.
However, I’m unable to use this field in “Field value changed” trigger, I can only select from the list of the drop down values.
If there is a way to do it, then my second question would be: how can we set up the rule action to display the Acceptance Tests section for issues where {{issue.properties.assertthat-scenarios.total}} > 0 and hide it when {{issue.properties.assertthat-scenarios.total}} == 0?
I found that the Acceptance Tests section can be hidden/exposed using "https://[domain].atlassian.net/rest/api/2/issue/[id]/properties/com.assertthat.jira.bdd_assertthat-bdd-new-issue-left-panel"
(DELETE for hiding or PUT with payload: {“added”:“com.assertthat.jira.bdd_assertthat-bdd-new-issue-left-panel”} for exposing), but I wonder if there is a way to use Jira Automation rules for this purpose.
Appreciate your advise.
Katya.