Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I am trying to get pull requests branches created for a jira issue using jira automation but i am getting empty values. but in UI i can see them linked and with bitbucket cloud
i tried all possible values including smart values . can some one suggest the easy way to get them in automation .
Hi @Narendra Karapakula -- Welcome to the Atlassian Community!
Without seeing the specifics of your rule and audit log details...
The automation branch-related smart values are only available when using the related triggers (or specific actions). Please look here to learn more: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--branch--
To access the branch information with other trigger types, the rule would need to use the Send Web Request action to call the REST API endpoints in your source control tool.
Kind regards,
Bill
Hi Bill,
Thanks for the links, Could you elaborate further to get the pull request details.
I am trying to get the pull request information like pull request url along with repo name or atleast url which will have repo name in it
This information i need when my JIRA issue gets transitioned into a specific status so that i can further process these Pull requests like running PR build in jenkins or merge the pull request etc ....
could you help achieve this with jira automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I described, the pull request smart values are only available with the PR-related triggers:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--Pull-request--
When instead using the Work Item Transitioned trigger, two of the possible workarounds are:
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.