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.