Is listing all PR comments in JIRA, once it has been merged, possible using this feature? I don't see it listed anywhere under JIRA smart values.
Tools/Apps: Jira (Cloud), GitHub for Jira
I am trying to create an automation rule that would look like:
{{pullRequest.title}} {{pullRequest.state}} {{pullRequest.sourceBranch}} {{pullRequest.comments}} <- trying to output ALL comments in the PR that was merged to be sent into the created Jira comment via the automation rule
Hi @Andrew McFarland
welcome to the Atlassian Community
Unfortunately there is no native smart value in Jira to get comments from a PullRequest.
I just checked to docu of github rest api and there is a possibility to get those comments from issues, pullRequests and pullRequest-reviews. See the link below:
https://docs.github.com/de/rest/issues/comments?apiVersion=2022-11-28
I would suggest to call the github in your automation rule via "Send webrequest" action and add these informations from the JSON respond.
BestStefan
It looks like you're new here. Sign in or register to get started.