<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Change user data mapping (Thread)</title><description> Hi,  I need some advice on the following topic: we use SpiraTest with a synchronisation to Jira. Now the jira-usernames are changed. I can enter them via the web-UI (edit user/data mapping), but this is not a feasible way due to the amount of users to change (&gt;1000).  I thought I could use the REST api to do this. But if I do a POST to data-mappings/{data_sync_system_id}/users with the updated values (only the ExternalKey is changed) nothing is changed though I get an http 200 status (checked with the web UI and via a GET to data-mappings/{data_sync_system_id}/users).  The documentation also says that the POST is used to Add new user data mapping entries. I want to update them.  So what is the preferred way to achieve this?  Best regards Stephan </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/integrations/bug-trackers/2766.aspx</link><item><guid isPermaLink="false">threadId=2766</guid><author>Stephan Wacker (stephan.wacker@adesso.de)</author><title>Change user data mapping</title><description> Hi,  I need some advice on the following topic: we use SpiraTest with a synchronisation to Jira. Now the jira-usernames are changed. I can enter them via the web-UI (edit user/data mapping), but this is not a feasible way due to the amount of users to change (&gt;1000).  I thought I could use the REST api to do this. But if I do a POST to data-mappings/{data_sync_system_id}/users with the updated values (only the ExternalKey is changed) nothing is changed though I get an http 200 status (checked with the web UI and via a GET to data-mappings/{data_sync_system_id}/users).  The documentation also says that the POST is used to Add new user data mapping entries. I want to update them.  So what is the preferred way to achieve this?  Best regards Stephan </description><pubDate>Wed, 15 Mar 2023 07:25:28 -0400</pubDate><a10:updated>2023-03-21T07:25:31-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/2766.aspx</link></item><item><guid isPermaLink="false">messageId=6090</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi Stephan  You probably need to use the DELETE API method to first remove the mapping, then POST t</title><description> Hi Stephan  You probably need to use the DELETE API method to first remove the mapping, then POST to add the new mapping (external key).  Alternatively, if you are on premise, there is direct access to the data in the   TST_DATA_SYNC_USER_MAPPING   table  Regards  David </description><pubDate>Wed, 15 Mar 2023 07:41:59 -0400</pubDate><a10:updated>2023-03-15T07:41:59-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/2766.aspx#reply6090</link></item><item><guid isPermaLink="false">messageId=6094</guid><author>Stephan Wacker (stephan.wacker@adesso.de)</author><title> Hi David,  thanks for the hint.  The DELETE-method is undocumented. Where can I find the correct ca</title><description> Hi David,  thanks for the hint.  The DELETE-method is undocumented. Where can I find the correct call/parameters?  Currently I do a DELETE data-mappings/{data_sync_system_id}/users with the body    [    {       ProjectId: null,       InternalId: x,       ExternalKey: xyz,       Primary: true    } ]    With this call I get the error Method not allowed.  Best regards Stephan    </description><pubDate>Fri, 17 Mar 2023 08:38:18 -0400</pubDate><a10:updated>2023-03-17T08:38:18-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/2766.aspx#reply6094</link></item><item><guid isPermaLink="false">messageId=6095</guid><author>Stephan Wacker (stephan.wacker@adesso.de)</author><title> I could also write a selenium script, but thats not a very elegant solution...  Regards Stephan </title><description> I could also write a selenium script, but thats not a very elegant solution...  Regards Stephan </description><pubDate>Tue, 21 Mar 2023 07:25:31 -0400</pubDate><a10:updated>2023-03-21T07:25:31-04:00</a10:updated><link>/Support/Forum/integrations/bug-trackers/2766.aspx#reply6095</link></item></channel></rss>