Hi,
I am creating a workflow such that when an issue transitions to Done state, a message needs to go to Slack.
Now considering in my case, all issues will be linked to Bitbucket.
that means, in the Jira ticket I am able to see Pull requests, build etc. because the branch names and Pull requests all start with JIRA key.
I want to send the associated pull requests of this issue and the reviewer name of the PR as well in slack.
Not able to get these two values using smart-values. Kindly help.
PS : I tried {{issue.development[pullRequest]}} but it did not work
@Kunal Keshav Singh Sahni This could be configured from either way that is from Bitbucket to Slack. PR details and Issue details can also be transferred as notification as described here Integrate Bitbucket Cloud with Slack | Bitbucket Cloud | Atlassian Support.
I hope this could help you.
@Vedant Kulkarni can I get them as smart-values in Jira workflow for Send Slack Message trigger in Jira workflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kunal Keshav Singh Sahni , You can't get in workflow smart values. However, you can use Jira Automation and make use of development smart values listed here Jira smart values - development | Cloud automation Cloud | Atlassian Support.
I don't see the reviewer/approver, but you can get Pull Request detail which can be transferred to Slack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vedant Kulkarni , thanks for the answer, I am using the same workflow,
{{issue.development}} gives me some values but the JIRA smart values - development can only be used with following flows [PR created, declined, merged]
So I am wondering how to use these in my usecase.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly, we cannot proceed with Automation and there is already a similar thread Solved: How to get pull request creator / author as a smar... (atlassian.com).
However, as an alternative approach, you could try calling Jira/Bitbucket API but may need an additional editor such as Scriptrunner for Jira Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.