Table Users
Description
No description available
Supported Operations
Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.| Method | Supported | Reference EndPoint | 
|---|---|---|
| SELECT | get_users | |
| INSERT | create_user | |
| UPDATE | ||
| UPSERT | ||
| DELETE | delete_user | |
| LOOKUP | 
Examples
SSIS
Use Jira Connector in API Source component to read data or in API Destination component to read/write data:
Read from Users table using API Source
API Source - Jira
    Jira connector can be used to read, write, delete Issues, Users, Worklogs, Comments, Projects, Custom fileds and many other details
    Jira
    Users
    | There are no parameters to configure. | 
Read/write to Users table using API Destination
API Destination - Jira
    Jira connector can be used to read, write, delete Issues, Users, Worklogs, Comments, Projects, Custom fileds and many other details
    Jira
    Users
    Select
    | There are no parameters to configure. | 
ODBC application
Use these SQL queries in your ODBC application data source:
List users
Lists all available users
SELECT * FROM Users
    INSERT User
Inserts a single user
INSERT INTO Users(EmailAddress, DisplayName, Name, Password)
VALUES ('my@user.com', 'John Doe', 'John', 'xhedkspstdadaothoua')
WITH (OUTPUT=1)
    DELETE User
Deletes a single user
DELETE FROM Users
WITH (OUTPUT=1, accountId = '547059:136095a0-XXXX-XXXX-XXXX-3e4c66f26551', ContinueOn404Error=0)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List users
Lists all available users
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Users';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];
    INSERT User
Inserts a single user
DECLARE @MyQuery NVARCHAR(MAX) = 'INSERT INTO Users(EmailAddress, DisplayName, Name, Password)
VALUES (''my@user.com'', ''John Doe'', ''John'', ''xhedkspstdadaothoua'')
WITH (OUTPUT=1)';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];
    DELETE User
Deletes a single user
DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Users
WITH (OUTPUT=1, accountId = ''547059:136095a0-XXXX-XXXX-XXXX-3e4c66f26551'', ContinueOn404Error=0)';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];