Hi, I was experimenting on Jira Automation. I wanted to automate the status of our issues depending on our BitBucket Repository references of the issues. For example, when a branch is create the issue status must go from TODO -> IN PROGRESS.
Going from TODO -> IN PROGRESS is easy by listening to When Branch Created. The problem becomes more complicated when going backwards. Say for example when the created branch is deleted. I was wondering if it possible to determine whether an Issue have a reference branch or referenced commit, so that the the issue contains at least 1 commit/branch, then I could transition the status to IN PROGRESS and when the branch/commit is deleted/or zero, I could revert the status to TO DO.
Is this possible? Thank you very much in advance.