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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have several rules that apply a label to an issue when a certain word is mentioned in the Summary but it only applies the first label that the Summary contains.
For example, if the Summary of my task says "Write a Story for MCP", automation is supposed to apply the "Story" and "MCP" labels to the issue, but currently only applies the "Story" label because it is written first in the Summary.
Here's an example of those rules:
How do I get it to apply more than once label at once without creating an individual rule for every single possible combination of trigger words in the Summary?
I'm assuming that you've checked that all rules indeed did run, as expected, and successfully, yes?
In your Edit issue fields actions, is it possible that you are using a SET configuration for the labels? If so, please select ADDREMOVE and set the labels to add. It should look like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Lucas Van De Graaff Welcome to the Atlassian community
On the edit label step just use the advanced field editing under the more options section. You can set multiple labels here by adding the following:
{
"update": {
"labels": [
{
"add": "Story"
},
{
"add": "MPC"
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Brant! This isn't what I'm looking for, though - I need the automation for each separate rule to run and leave the issue with multiple labels attached (one for each rule), not creating a rule to apply multiple labels together because I have many different trigger words. I would then have to write a separate rule for every possible combination ("Story" + "MCP", "Story" + "Training", "Story" + "NW", "NW" + "Training", etc.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Lucas Van De Graaff You can just add multiple conditions and actions to the single automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since I already have a separate rule that applies each label to its specific corresponding word in the summary I was hoping there was a way to get each one to trigger instead of only the one that matches the first word in the summary. Does that make sense?
From what you're saying it sounds like there's no way around having to create rules with each possible combo of trigger words and labels though, right? If I'm misunderstanding can you provide an example?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Lucas Van De Graaff in the example you provided above the trigger was the same for the two automations. You could just combine them into a single automation with multiple if statements and yes each one would need a rule or it would not be able to apply the label.
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.