API - Asana displays my username instead of the actual user who made a change in ServiceNow

Reddy
Kilo Sage

I have integrated ServiceNow and Asana through APIs, but I’m facing an issue where Asana displays my username instead of the actual user who made a change in ServiceNow.

 

For example, if a user adds a comment in ServiceNow, Asana shows my name instead of the user’s name. Upon checking the response body, I found that it is taking the “created by” as me.

 

Reddy_0-1710425107855.png

Is there an option available in ServiceNow to modify and transmit the actual username instead of mine?

7 REPLIES 7

Ok, I went through that process.  I'm willing to bet its because you created the app under your account.  What I think you need to do is create the App which generates your Client and Secret under a service account in that workspace (you probably have to grant access to that account)

Then update your creds / auth in ServiceNow to the new one.  

That "should" make all your integration requests tied to the Service Account app and not your own.

Give it a try.  See if that does it.  🙂 

@The Machine  OAuth tokens I created have been authenticated with my credentials for the Asana app. Do you know how I can use OAuth to ask each user to authorize the integration?

 

Reddy_0-1710517637444.png

 

Josh Gold
Tera Expert

@Reddy Unito has a no-code integration for ServiceNow that creates tasks in Asana synced to SN records with 2-way updates. Everything is put together in a point-and-click interface with drop-down menus, no code or scripting required. If you can share a few more details about your use case, I can put together a demo for you. Otherwise, here's a step-by-step guide on how to sync Azure DevOps work items to records with 2-way updates. You can also find more details about Unito's ServiceNow integration here.