Reference

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
Read and write Jira data effortlessly. Track, manage, and automate issues, projects, worklogs, and comments — almost no coding required.
Jira
Users
There are no parameters to configure.
SSIS API Source - Read from table or endpoint

Read/write to Users table using API Destination

API Destination - Jira
Read and write Jira data effortlessly. Track, manage, and automate issues, projects, worklogs, and comments — almost no coding required.
Jira
Users
Select
There are no parameters to configure.
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Read users

<p>Gets all users. Use this to list account IDs and user metadata before assigning issues or setting project leads.</p>

SELECT * FROM Users

Create a user

<p>Creates a single user. Supply <code>EmailAddress</code>, <code>DisplayName</code>, <code>Name</code>, and <code>Password</code>. Use <code>WITH (OUTPUT=1)</code> to return the created user. Availability depends on Jira/Atlassian configuration.</p>

INSERT INTO Users(EmailAddress, DisplayName, Name, Password)
VALUES ('my@user.com', 'John Doe', 'John', 'xhedkspstdadaothoua')
WITH (OUTPUT=1)

Delete a user

<p>Deletes a single user. Identify the user with <code>accountId</code> in the <code>WITH</code> clause. Availability and behavior depend on Jira/Atlassian configuration.</p>

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:

Read users

<p>Gets all users. Use this to list account IDs and user metadata before assigning issues or setting project leads.</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Users';

EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];

Create a user

<p>Creates a single user. Supply <code>EmailAddress</code>, <code>DisplayName</code>, <code>Name</code>, and <code>Password</code>. Use <code>WITH (OUTPUT=1)</code> to return the created user. Availability depends on Jira/Atlassian configuration.</p>

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 a user

<p>Deletes a single user. Identify the user with <code>accountId</code> in the <code>WITH</code> clause. Availability and behavior depend on Jira/Atlassian configuration.</p>

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];