Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create issue automatically in Jira when a PR is created in GitHub

Samuel Smiles P
Contributor
September 29, 2021

We have some PRs being automatically created in Github by a bot, and I would like the creation of each PR to trigger a rule that creates a new Issue in our Jira project. I think it is possible by the automation rules.

But how to filter only those from a specific user (the bot)? We need the PRs created only by the bot to trigger a new issue creation.

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 29, 2021

Hi @Samuel Smiles P 

Based upon this suggestion in the backlog, the PR author smart value is not available yet with the PR created trigger: https://codebarrel.atlassian.net/browse/AUT-1997

Once the PR is created, is there a REST API function you could call with a web request action from the rule to learn the author?

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events