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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.