You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is there an option to automatically assign a label to the pull request when it is created?
I have a ticket(Jiras' issue) with "Priority: Medium".
I start working on the ticket, create a Pull Request (no issue on github, just a Jira ticket + Pull request) that is linked to the issue.
Is there an automation rule that will assign a label with "priority: medium" to the pull request?
I did not find any template to do that.
Hi @Nikodem Macuk -- Welcome to the Atlassian Community!
I do not believe there is anything built-in to modify the PR that way from an automation rule.
Instead have you tried calling the Github REST API from the rule, using a send web request action, to add the label?
No I did not, I first wanted to make sure that I'm not gonna do something that is maybe already built in. :D
Thanks for the suggestion. Will definitely take a look!
Just following up to check if this answered your question. If so, please consider marking this one as "answered". That will help others with a similar need find solutions faster. If not, please let the community know what help you need with the rule changes.