# Zendesk-Jira unexalate tag handling

**URL:** https://community.exalate.com/t/zendesk-jira-unexalate-tag-handling/6114
**Category:** General Questions
**Tags:** exalate, cloud-jira, zendesk, tags
**Created:** [January 13, 2025, 2:27pm UTC](https://community.exalate.com/t/zendesk-jira-unexalate-tag-handling/6114 "2025-01-13T14:27:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fiannuzzi](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fiannuzzi](https://community.exalate.com/u/fiannuzzi)
#### Post date: [January 13, 2025, 2:27pm UTC](https://community.exalate.com/t/zendesk-jira-unexalate-tag-handling/6114/1 "2025-01-13T14:27:01Z")

</div>

Hello team,

I’m using a tag in zendesk for “unexalate” when the tag “unexalate” is written. The Jira incoming looks like this:

def tag names = replica.labels.collect { it.value}  
If (tagNames.contains(“unexalate”)) {  
replica.labels.removeAll { it.value == “unexalate” } //function to remove the tag in zendesk not working  
syncHelper.unExalateAfterProcessing()//works perfect unexalating

}

Not only I want to unexalate the zendesk to Jira but also I need to remove the tag from the zendesk ticket and my function is not working now. What can I be missing?

---

<div class="post-metadata">

### Author: ![Ariel\_Aguilar](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/ariel_aguilar/32/341_2.png) [@Ariel\_Aguilar](https://community.exalate.com/u/Ariel_Aguilar)
#### Post date: [January 13, 2025, 10:08pm UTC](https://community.exalate.com/t/zendesk-jira-unexalate-tag-handling/6114/2 "2025-01-13T22:08:23Z")

</div>

Hi there,  
I guess you could do:  
Jira Incoming:  
if(condition){  
syncHelper.syncBackAfterProcessing()  
}  
ZD incoming:  
if(condition){  
syncHelper.unExalateAfterProcessing()  
}

---

<div class="post-metadata">

### Author: ![fiannuzzi](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fiannuzzi](https://community.exalate.com/u/fiannuzzi)
#### Post date: [January 14, 2025, 4:42am UTC](https://community.exalate.com/t/zendesk-jira-unexalate-tag-handling/6114/3 "2025-01-14T04:42:11Z")

</div>

Hi Ariel,

The unexalate process works smoothly. The untag can be done without using a DELETE or PUT API call?

I thought that it has worked with the replica.labels.removeAll() method I used in the past but I believe I was wrong.

---

<div class="post-metadata">

### Author: ![Ariel\_Aguilar](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/ariel_aguilar/32/341_2.png) [@Ariel\_Aguilar](https://community.exalate.com/u/Ariel_Aguilar)
#### Post date: [June 18, 2025, 6:03pm UTC](https://community.exalate.com/t/zendesk-jira-unexalate-tag-handling/6114/5 "2025-06-18T18:03:44Z")

</div>

Hi @fiannuzzi,  
I just wanted to follow up on your question from a while back regarding the unexalate process and whether it’s possible to untag without using a DELETE or PUT API call. You had mentioned trying the `replica.labels.removeAll()` method, but weren’t sure if it worked as expected.

Were you able to find a solution, or is there anything I can assist you with on this topic?
