# Shotgrid Handler Issues?

**URL:** <https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663>\
**Category:** Pipeline Integrations\
**Created:** [February 4, 2022, 5:13pm UTC](https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663 "2022-02-04T17:13:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcdonald.ethan](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mcdonald.ethan](https://community.shotgridsoftware.com/u/mcdonald.ethan)\
**Post date:** [February 4, 2022, 5:13pm UTC](https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663/1 "2022-02-04T17:13:00Z")

</div>

I’m trying to troubleshoot event handler errors on SG Jira Bridge.  
The event daemon appears to be processing properly and sending event traffic to the localhost SG Jira Bridge site.  
However, I always get handling errors not sure where or how it’s failing.  
Below is an example debug log of what I’m receiving from the SG Jira Bridge web service.

2022-02-04 10:33:37,729 DEBUG [task\_issue\_handler] Rejecting Shotgun event for unsupported Shotgun field step: {u’entity\_id’: 17444, u’entity\_type’: u’Task’, u’project’: {u’type’: u’Project’, u’id’: 617, u’name’: u’Retro Test Project’}, u’meta’: {u’entity\_id’: 17444, u’attribute\_name’: u’step’, u’in\_create’: True, u’entity\_type’: u’Task’, u’old\_value’: None, u’new\_value’: {u’valid’: u’valid’, u’type’: u’Step’, u’uuid’: u’c400dd58-4bec-11e9-8487-0242ac110006’, u’name’: u’Design’, u’id’: 129}, u’field\_data\_type’: u’entity’, u’type’: u’attribute\_change’}, u’user’: {u’type’: u’HumanUser’, u’id’: 1079, u’name’: u’Ethan Mcdonald’}, u’session\_uuid’: u’c509eb22-85d7-11ec-8f1a-0242ac110007’}

---

<div class="post-metadata">

**Author:** ![Halil](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/halil/32/4697_2.png) [@Halil](https://community.shotgridsoftware.com/u/Halil)\
**Post date:** [February 7, 2022, 8:20am UTC](https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663/2 "2022-02-07T08:20:17Z")

</div>

This doesn’t seem like a failure.

What’s happening is in SG the `step` field on a `Task` entity has had an `EventLogEntry` created associated with the update of it’s value. The SG Jira Bridge is simply rejecting handling this EventLogEntry as there’s no action here.

You can see the fields it will handle in the source: [https://github.com/shotgunsoftware/sg-jira-bridge/blob/109d5bb1fcf4ff3d19d891d526a06276fa8b8134/sg\_jira/handlers/task\_issue\_handler.py#L25](https://github.com/shotgunsoftware/sg-jira-bridge/blob/109d5bb1fcf4ff3d19d891d526a06276fa8b8134/sg_jira/handlers/task_issue_handler.py#L25)

```python
    # Define the mapping between Shotgun Task fields and Jira Issue fields
    # if the Jira target is None, it means the target field is not settable
    # directly.
    __TASK_FIELDS_MAPPING = {
        "content": "summary",
        "sg_description": "description",
        "sg_status_list": None,
        "task_assignees": "assignee",
        "tags": "labels",
        "created_by": "reporter",
        "due_date": "duedate",
        "est_in_mins": "timetracking", # time tracking needs to be enabled in Jira.
        "addressings_cc": None,
    }

```

---

<div class="post-metadata">

**Author:** ![mcdonald.ethan](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mcdonald.ethan](https://community.shotgridsoftware.com/u/mcdonald.ethan)\
**Post date:** [February 7, 2022, 7:00pm UTC](https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663/3 "2022-02-07T19:00:47Z")

</div>

Thank you for the explanation.  
If you running the SG-JIRA-BRIDGE, for reference could you post your “task\_issue\_handler.py” file under “/sg\_jira/handlers/” ?  
It may help sort out if I have the task handler configured incorrectly.

---

<div class="post-metadata">

**Author:** ![Halil](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/halil/32/4697_2.png) [@Halil](https://community.shotgridsoftware.com/u/Halil)\
**Post date:** [February 8, 2022, 12:13am UTC](https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663/4 "2022-02-08T00:13:06Z")

</div>

Hey sorry, I’m not actually running this in production, just had a look at the code out of curiosity as I’m looking at [shotgunEvents](https://github.com/shotgunsoftware/shotgunEvents) related issues internally.

---

<div class="post-metadata">

**Author:** ![mcdonald.ethan](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mcdonald.ethan](https://community.shotgridsoftware.com/u/mcdonald.ethan)\
**Post date:** [February 22, 2022, 5:34pm UTC](https://community.shotgridsoftware.com/t/shotgrid-handler-issues/14663/5 "2022-02-22T17:34:34Z")

</div>

I was a dummy, I was attempting to sync Assets and not Tasks.  
I’m not super familiar with ShotGrid but was tasked with getting this working.  
Either way, it’s working with a Test project now. 🙂
