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.
Hello,
I'm using some integrations with Coda.io on JIRA, and one of those is going to be used to "Change a sprint" in JIRA. Unfortunately the integration kind of sucks, so I've come up with this idea using labels, which I can change with the integration easily. It's easy to set up a label to trigger automation to move to the Backlog. The automations will move them to the backlog and still be tagged to the correct Board (we have multiple boards driven by a custom field for each team). But when I want to move to a specific board, say "DevOps Sprint 8" or "Platform Sprint 7," is where I come up with issues.
Steps:
Hi,
I was able to solve this. Specifically, I had to:
{
"update": {
"labels": [{
"remove": "{{varLabelIterate}}"
}]
},
"fields": {
"sprint": {{varLabelIterate.split("-").last.asNumber}}
}
}
Awesome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Chase Schwalbach
Welcome to the Atlassian community!
I'm still thinking about your first question.
Regarding your second question, yes you can remove 1..n values from the Labels field.
Use the Edit Action. Select the Labels field as the one you want to Edit. Next to the data field click the ... button and select ADDREMOVE. That will give you two fields; one for specifying Label values you want to add, and one for specifying Label values you want to remove.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, but the system wouldn't know what the label is ahead of time. So I'd need to intake that from the trigger to know if I'm removing "coda-sprint-change-to-DevOps Sprint 8" or "coda-sprint-change-to-Platform Sprint 8"
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.