Hello, our team wants to integrate JIRA and github and start to use automation.
Our repository has the following git flow strategy.
If we make new issue named 'TEAM-1', these 3 branch exist.
- dev
- QA
- TEAM-1/blahblah
Before deployment, we merge 'TEAM-1' branch to 'QA' branch by Pull Requests. After tests ends, 'TEAM-1' branch is merged to 'dev' branch.
When TEAM-1 -> QA PR merging, I want to set state of JIRA from 'In Progress' to 'Reviewing'. TEAM-1 -> dev mergeing, I want to set state JIRA from 'Reviewing' to 'Done'.
However, I can't find a way to distinguish PR by where branch they will merged in.
Can't automation rules be applied depending on the what branch they will be merged in? Thanks.