Hi,
When someone reports a bug on Jira we create a branch on Github. The name of the branch is prefixed by the number of Jira's issue. (e.g. ODP-35-fix-issue).
When the fix is approved we open a PR on github and merge the branch into master. Then it'll be deployed (Heroku).
On Heroku we have 3 apps but actually they are all the same but for different environments: prod, dev and staging.
So I'm wondering if there's a way to automatically add a label to an issue when a branch was deployed to Heroku. (e.g. ODP-35-fix-issue deployed to dev app on Heroku, then Jira automatically add a DEV label to the corresponding issue - ODP-35).
Thank you.