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
Our team has a default set of Components we add to every JSD issue when created. I'd like to write an automation that non-agent users can manually trigger to remove a specific Component. I am guessing I'll have to do this in a couple of steps:
1) Get the current set of Components on an issue
2) Set the Components to a modified set with the specific one removed.
I see the smart value for Components is simply fields.components, but I'm not clear on how to manipulated the set.
TIA!
Here is the easy way to do it:
In JSON format in a modify issue use this syntax:
{
"update": {
"components": [{
"remove": {"name": "Component_Name_To_Remove"}
}]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Janene Pappas ,
please check the below link may be this will help to fix your issue.
https://support.atlassian.com/jira-service-desk-cloud/docs/when-if-and-then-statements/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fahad,
That link doesn't really help me. I already know how to use if-else branches but this doesn't get me how to remove a Component from an issue.
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.