Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation: Assign label to a Github Pull Request.

Edited
Nikodem Macuk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 06, 2023

Hello,
Is there an option to automatically assign a label to the pull request when it is created?

Example:

I have a ticket(Jiras' issue) with "Priority: Medium".
Screenshot 2023-10-06 at 11.25.49.png
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?

Screenshot 2023-10-06 at 11.27.03.png

I did not find any template to do that.

1 answer

1 accepted

0 votes
Answer accepted
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.
Oct 06, 2023

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?

Kind regards,
Bill

Nikodem Macuk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 06, 2023

Hey!
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!

Like Bill Sheboy likes this
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.
Oct 06, 2023
Like Nikodem Macuk likes this
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.
Nov 04, 2023

Hi @Nikodem Macuk 

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.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events