Hello,
I have Jira and Bitbucket in the company I am working at. The purpose of this question is to automate task creation in Jira according to Bitbucket.
I created a rule in Jira Project Automation to listen webhook triggers from Bitbucket. The event is pull request : open. And webhook can be triggered with no errors. I have linked issue in Bitbucket pull request. And this issue has a link to an epic defined in our Jira project. I can automate creating new issues and assign these issues to reviewers added in pull request.
Also I want to create epic link for these newly created issues. But I couldn't access linked issue in pull request. (I can parse from webhookData.pullrequest.fromRef.displayId but can't access this issue's fields). And I can't write scripts to achieve this as well sadly. (Because of company policy I don't have direct access to virtual machine that is hosting Jira)
How can I achieve this using Jira Project Automation?