# Status Sync without mapping resolution

**URL:** <https://community.exalate.com/t/status-sync-without-mapping-resolution/4745>\
**Category:** General Questions\
**Tags:** onpremise-jira, usecase, migrated\_question\
**Created:** [November 4, 2024, 7:20am UTC](https://community.exalate.com/t/status-sync-without-mapping-resolution/4745 "2024-11-04T07:20:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:20am UTC](https://community.exalate.com/t/status-sync-without-mapping-resolution/4745/1 "2024-11-04T07:20:48Z")

</div>

_Originally asked by Deniz Tımartaş on 22 June 2021 [(original question)](https://oldcommunity.exalate.com/questions/30048668)_

* * *

Hi,

When using [https://docs.idalko.com/exalate/display/ED/Status+synchronization+on+Jira+Server](https://docs.idalko.com/exalate/display/ED/Status+synchronization+on+Jira+Server) Status.receive(useRemoteStatusByDefault = true, workflowMapping = [:], resolutionMapping = [:])  
function, we would like to NOT map resolution to any. Is it possible?

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:20am UTC](https://community.exalate.com/t/status-sync-without-mapping-resolution/4745/2 "2024-11-04T07:20:49Z")

</div>

_Answer by Francis Martens (Exalate) on 22 June 2021_

The status.send and receive functions don’t need to be used anymore.

You can just do

```auto
issue.setStatus("Closed")

```

The resolution needs to be handled separately.

* * *

#### Comments:

> **Deniz Tımartaş commented on 22 June 2021**
>
> > Hi Francis,
> 
> I will try to implement it like this. Then I can do;
> 
> if (replica.status.name = “blabla”){
> 
> issue.setStatus(“Closed”)
> 
> }
> 
> Right?

> **Francis Martens (Exalate) commented on 26 June 2021**
>
> > Make sure you use the equality operator ‘==’ instead of the assignment operator (‘=’) when comparing replica.status.name with “blabla”
> 
> Then it should work - but YMMV
