Jira Spoke unable to clear Jira Assignee

kmolson73
Tera Expert

We currently have an integration with Jira using the Integration Hub spokes, I am unable to clear the assignee in Jira when it is cleared first in ServiceNow. I have tried leaving the Assign Issue account id field blank, I've tried putting null and unassigned in there as well. It does not work. Does anyone know how I can accomplish clearing the assignee field (setting it to unassigned) in Jira, the error I am seeing is account id cannot be empty in the execution in SN. How do we clear the assignee?

 

I do not have any issues when doing the opposite of clearing the assignee in Jira and it clearing in SN using the webhook subflow. We need this to work bi-directionally. 

1 ACCEPTED SOLUTION

Kale
Tera Expert

I ran into this same issue since the documentation is fairly lacking, but found that using the Assign Issue action and setting the Account ID to -1 seems to work for clearing out the Assignee field.

 

If you actually look at the xml of a Jira issue where the field is empty, it looks something like this:

 

<assignee accountid="-1">Unassigned</assignee>

 

 
So in my Flow, the action looks like this:
Kale_0-1731532770154.png

Hope this helps!

View solution in original post

5 REPLIES 5

Hi @Venkatapuram Ga did you find solution to update assignee in Jira from ServiceNow