{"id":5946,"date":"2019-01-09T08:44:01","date_gmt":"2019-01-09T08:44:01","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=5946"},"modified":"2025-03-19T07:07:08","modified_gmt":"2025-03-19T07:07:08","slug":"insert-update-delete-jira-issue-sql-server","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/","title":{"rendered":"Insert, Update and Delete JIRA Issue in SQL Server"},"content":{"rendered":"<h2><span id=\"Introduction\">Introduction<\/span><\/h2>\n<div class=\"su-note\"  style=\"border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFF8B7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><strong>UPDATE:<\/strong>\u00a0ZappySys has released a brand new <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/jira-connector\/odbc\">API Connector for Jira Online<\/a> which makes it much simpler to\u00a0<strong>Read\/Write Jira Data in ODBC<\/strong> compared to the steps listed in this article. You can still use steps from this article but if you are new to API or want to avoid learning curve with API then use newer approach.<\/p>\n<p>Please visit <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/\">this page to see all<\/a>\u00a0Pre-Configured ready to use API connectors which you can use in <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-source\/\">SSIS API Source<\/a> \/ <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-destination\/\">SSIS API Destination<\/a> OR\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-api-driver\/\">API ODBC Driver<\/a> (for non-SSIS Apps such as Excel, Power BI, Informatica).<\/p>\n<\/div><\/div>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5958 \" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira-150x150.png\" alt=\"Write in JIRA\" width=\"138\" height=\"138\" \/><\/a>In our previous blog we saw how to <a href=\"https:\/\/zappysys.com\/blog\/load-jira-data-sql-server-odbc-call-rest-api\/\" target=\"_blank\" rel=\"noopener\">read JIRA data in SQL Server<\/a>. In this blog, we will learn how to\u00a0<strong>Insert, Update and Delete Issue in JIRA using ZappySys JSON Driver. <\/strong>We will also read data from SQL Server data table in stored-procedure and insert JIRA issues in bulk, along with few other topics such as how to generate an API Token using Atlassian Account for\u00a0<strong>JIRA REST API Call<\/strong>, how to update and delete Issue data in JIRA using REST API calls.<\/p>\n<p>So, let\u2019s get started.<\/p>\n<h2><\/h2>\n<h2><span id=\"Requirements\">Requirements<\/span><\/h2>\n<ol>\n<li>A first requirement will be to SQL Server Database Engine Installed<\/li>\n<li>The second requirement will be SSMS installed<\/li>\n<li>Finally, make sure to have\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys ODBC PowerPack<\/a>\u00a0installed.<\/li>\n<\/ol>\n<h2>What is JIRA<\/h2>\n<p>JIRA is Atlassian\u2019s popular project- and issue-tracking platform used by development and technical support teams to get more work done and faster.<\/p>\n<p>It combines:<\/p>\n<p><strong>issue tracking<\/strong> &#8211; a software application that allows to record and follow the progress of every problem or &#8220;issue&#8221; that user identifies until the problem is resolved.<br \/>\n<strong>agile project management<\/strong> &#8211; an iterative approach to planning and guiding project processes. customizable workflow, and a pluggable integration &#8211; integrates with Freshdesk, GitHub, Zendesk, Zapbook, Asana and so on.<\/p>\n<h2>Getting Started<\/h2>\n<p>First of all, we will see several examples. ZappySys includes an\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-json-rest-api-driver\/\" target=\"_blank\" rel=\"noopener\">ODBC JSON Source Connector<\/a>\u00a0that will help you to call JIRA API, Insert issue in JIRA using static data from the SQL server using ODBC JSON driver REST API Call. Update and Delete JIRA issue data From the SQL Server. Insert Bulk JIRA issues from the stored procedure. To learn more about JIRA API <a href=\"https:\/\/developer.atlassian.com\/cloud\/jira\/platform\/rest\/v3\/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&amp;utm_medium=302\" target=\"_blank\" rel=\"noopener\">check this help file<\/a>.<\/p>\n<div class=\"content_block\" id=\"custom_post_widget-4816\"><h2>Generate API Token<\/h2>\r\nTo access JIRA data using REST API call you need to generate an API Token in your Atlassian account.\u00a0Follow the steps mentioned below to generate API Token:\r\n<ol>\r\n \t<li>you can directly login to the <a href=\"https:\/\/id.atlassian.com\" target=\"_blank\" rel=\"noopener\">JIRA Atlassian Cloud site<\/a> with your credentials, and redirect to the <a href=\"https:\/\/id.atlassian.com\/profile\/profile.action\" target=\"_blank\" rel=\"noopener\">JIRA Atlassian Cloud Account's\u00a0Profile Page<\/a> for generating an API Token.<\/li>\r\n \t<li>Click\u00a0<strong>API tokens<\/strong>, then\u00a0<strong>Create API token<\/strong>.\r\n<div class=\"wp-caption aligncenter\">\r\n\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4315 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-1.png\" alt=\"Generate API Token - Step - 1\" width=\"1600\" height=\"605\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-1.png 1600w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-1-300x113.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-1-768x290.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-1-1024x387.png 1024w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/a>\r\n<p class=\"wp-caption-text\">Generate API Token - Step - 1<\/p>\r\n\r\n<\/div><\/li>\r\n \t<li>Create API Token - Give Label name to your API token which you are generating now\r\n<div class=\"wp-caption aligncenter\">\r\n\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4316\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-2.png\" alt=\"Generate API Token - Step - 2\" width=\"1599\" height=\"603\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-2.png 1599w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-2-300x113.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-2-768x290.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-2-1024x386.png 1024w\" sizes=\"(max-width: 1599px) 100vw, 1599px\" \/><\/a>\r\n<p class=\"wp-caption-text\">Generate API Token - Step - 2<\/p>\r\n\r\n<\/div><\/li>\r\n \t<li>Use\u00a0<strong>Copy to the clipboard<\/strong>,\u00a0and paste the token into your or elsewhere:\r\n<div class=\"su-note-inner su-clearfix\" style=\"background-color:#fff4b7;border-color:#fffdf1;color:#333333\"><blockquote>Note:\u00a0 * For security reasons it isn't possible to view the token after closing the creation dialog; if necessary, create a new token. * You should store the token securely, just as for any password.<\/blockquote><\/div>\r\n<div class=\"wp-caption aligncenter\">\r\n\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4321\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-3.png\" alt=\"Generate API Token - Step - 3\" width=\"1600\" height=\"602\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-3.png 1600w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-3-300x113.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-3-768x289.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-3-1024x385.png 1024w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/a>\r\n<p class=\"wp-caption-text\">Generate API Token - Step - 3<\/p>\r\n\r\n<\/div><\/li>\r\n \t<li>If you forgot API token, then you can Revoke your old API token and create new API token OR you can create multiple API tokens too.\r\n<div class=\"wp-caption aligncenter\">\r\n\r\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4326 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-4.png\" alt=\"Generate API token - Step - 4\" width=\"1600\" height=\"601\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-4.png 1600w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-4-300x113.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-4-768x288.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/jira-generate-api-token-step-4-1024x385.png 1024w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/a>\r\n<p class=\"wp-caption-text\">Generate API token - Step - 4<\/p>\r\n\r\n<\/div><\/li>\r\n<\/ol>\r\nNow we have successfully generated an API token. Let\u00b4s start with an example. In this example, we will show how to read Tasks\/Issues data from JIRA and store that data into a SQL table with SSIS.<\/div>\n<h2>About JIRA REST API<\/h2>\n<p>JIRA On-premises and Cloud Version both offers REST API. Here are some examples of\u00a0JIRA REST API.\u00a0For inserting issue in JIRA we will use <a href=\"https:\/\/docs.atlassian.com\/software\/jira\/docs\/api\/REST\/7.13.0\/?_ga=2.35527399.715857694.1546329197-716615697.1528110605#api\/2\/issue-createIssue\" target=\"_blank\" rel=\"noopener\">JIRA REST API create issue method<\/a>. We can also insert issues in bulk using <a href=\"https:\/\/docs.atlassian.com\/software\/jira\/docs\/api\/REST\/7.13.0\/?_ga=2.35527399.715857694.1546329197-716615697.1528110605#api\/2\/issue-createIssues\" target=\"_blank\" rel=\"noopener\">Create issues bulk method<\/a>. To update issue we will use this PUT method:\u00a0<a href=\"https:\/\/developer.atlassian.com\/server\/jira\/platform\/updating-an-issue-via-the-jira-rest-apis-6848604\/\" target=\"_blank\" rel=\"noopener\">Updating an Issue via the JIRA REST APIs<\/a>. To delete issue we will use this <a href=\"https:\/\/docs.atlassian.com\/software\/jira\/docs\/api\/REST\/7.13.0\/#api\/2\/issue-deleteIssue\" target=\"_blank\" rel=\"noopener\">DELETE method<\/a>. You can find JIRA Rest API example on this link: <a href=\"https:\/\/developer.atlassian.com\/server\/jira\/platform\/jira-rest-api-examples\/\" target=\"_blank\" rel=\"noopener\">Jira REST API examples<\/a><\/p>\n<h2><span id=\"Step-by-Step_Import_REST_API_into_Power_BI\">Step-by-Step: Write in JIRA from SQL Server<\/span><\/h2>\n<p>Now once you have API token in the JIRA Atlassian Cloud website we can move to ODBC JSON Driver Configuration Part. For this example purpose you can use the following URL:<\/p>\n<pre class=\"lang:default decode:true\">https:\/\/YOUR-DOMAIN.atlassian.net\/rest\/api\/2\/issue\/<\/pre>\n<p>hence,\u00a0<strong>your-domain is your Atlassian Cloud account\u2019s domain name (we are using zappysys2.atlassian.net).<\/strong><\/p>\n<p>Above all, each API endpoint may have a different limit for the number of items returned, and these limits may change without notice. (For more See this\u00a0<a href=\"https:\/\/docs.atlassian.com\/software\/jira\/docs\/api\/REST\/7.13.0\/\" target=\"_blank\" rel=\"noopener\">JIRA REST API reference<\/a>)<\/p>\n<h3><span id=\"Create_ODBC_DSN_8211_JSON_Driver\">Configure ZappySys Gateway data Source for JIRA<\/span><\/h3>\n<ol>\n<li>To do this, first of all, we will open the ZappySys Data Gateway Configuration:\n<div id=\"attachment_5283\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5283\" class=\"wp-image-5283 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway.png\" alt=\"Open ZappySys Data Gateway\" width=\"400\" height=\"315\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway.png 400w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/start-menu-open-zappysys-data-gateway-300x236.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-5283\" class=\"wp-caption-text\">Open ZappySys Data Gateway<\/p><\/div><\/li>\n<li>Add the Native &#8211; ZappySys JSON Driver Data source.\n<div id=\"attachment_5284\" style=\"width: 568px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5284\" class=\"wp-image-5284 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source.png\" alt=\"Add Gateway Data Source (Native JSON Driver)\" width=\"558\" height=\"533\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source.png 558w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/zappysys-data-gateway-add-data-source-300x287.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/a><p id=\"caption-attachment-5284\" class=\"wp-caption-text\">Add Gateway Data Source (Native JSON Driver)<\/p><\/div><\/li>\n<li>Now it&#8217;s time to connect with JIRA. Let&#8217;s use JSON Driver Data source with the\u00a0following URL:\n<pre class=\"lang:default decode:true \">https:\/\/YOUR-DOMAIN.atlassian.net\/rest\/api\/2\/issue\/<\/pre>\n<div id=\"attachment_9233\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-jira-post.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9233\" class=\"wp-image-9233 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-jira-post-768x672.png\" alt=\"ODBC JSON Driver: Enter Request URL\" width=\"720\" height=\"630\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-jira-post-768x672.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-jira-post-300x263.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-json-driver-jira-post.png 802w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-9233\" class=\"wp-caption-text\">ODBC JSON Driver: Enter Request URL<\/p><\/div><\/li>\n<li>It is time to configure the Other Settings. Select HTTP Connection Type from the Connection Type drop-down and Click on Click to Configure Link to Configure the Connection Manager.\n<div id=\"attachment_5596\" style=\"width: 1149px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/jira-odbc-json-driver-configure-http-api-connection-e1548802192303.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5596\" class=\"wp-image-5596 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/jira-odbc-json-driver-configure-http-api-connection-e1548802192303.png\" alt=\"JIRA REST API Connection - Use ZappySys JSON Driver HTTP Connection\" width=\"1139\" height=\"631\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/jira-odbc-json-driver-configure-http-api-connection-e1548802192303.png 1139w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/jira-odbc-json-driver-configure-http-api-connection-e1548802192303-300x166.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/jira-odbc-json-driver-configure-http-api-connection-e1548802192303-768x425.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/jira-odbc-json-driver-configure-http-api-connection-e1548802192303-1024x567.png 1024w\" sizes=\"(max-width: 1139px) 100vw, 1139px\" \/><\/a><p id=\"caption-attachment-5596\" class=\"wp-caption-text\">JIRA REST API Connection &#8211; Use ZappySys JSON Driver HTTP Connection<\/p><\/div><\/li>\n<li>Now, Let&#8217;s Add request body input data of issue.\n<pre class=\"lang:default decode:true\">{\r\n    \"fields\": {\r\n       \"project\":\r\n       {\r\n          \"id\": \"&lt;YOUR-PROJECT-ID&gt;\"\r\n       },\r\n       \"summary\": \"No REST for the Wicked.\",\r\n       \"description\": \"Creating of an issue using IDs for projects and issue types using the REST API\",\r\n       \"issuetype\": {\r\n          \"id\": \"&lt;ISSUE-TYPE-ID&gt;\"\r\n       }\r\n   }\r\n}<\/pre>\n<div id=\"attachment_5954\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-input-request-data.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5954\" class=\"wp-image-5954 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-input-request-data-768x423.png\" alt=\"odbc-Issue Input Data\" width=\"720\" height=\"397\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-input-request-data-768x423.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-input-request-data-300x165.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-input-request-data-1024x563.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-input-request-data.png 1276w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-5954\" class=\"wp-caption-text\">Issue Input Data<\/p><\/div><\/li>\n<li>Now using Query Builder we will generate the query.\n<div id=\"attachment_5991\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-json-generate-query.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5991\" class=\"wp-image-5991 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-json-generate-query-768x448.png\" alt=\"ODBC-json-generate-query\" width=\"720\" height=\"420\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-json-generate-query-768x448.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-json-generate-query-300x175.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-json-generate-query-1024x598.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/ODBC-json-generate-query.png 1472w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-5991\" class=\"wp-caption-text\">Generate JIRA Rest API Post Method Query<\/p><\/div><\/li>\n<li>Now Let&#8217;s Test Connection and it will prompt the message &#8220;Connection is OK!&#8221;<\/li>\n<li>That&#8217;s it we have successfully configured JIRA Rest API in ODBC JSON Driver.<\/li>\n<\/ol>\n<h3>Setup Linked Server <span id=\"Create_ODBC_DSN_8211_JSON_Driver\">in MS SQL Server for JIRA<\/span><\/h3>\n<p>Once you configured the data source in Gateway, we can now setup Linked Server in SQL Server to query API Calls.<\/p>\n<ol>\n<li>Assuming you have installed SQL Server and SSMS. If not then get both for FREE from here:\u00a0<a href=\"https:\/\/www.microsoft.com\/en-us\/sql-server\/sql-server-editions-express\" target=\"_blank\" rel=\"noopener\">Get SQL Server Express<\/a>\u00a0and\u00a0\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssms\/download-sql-server-management-studio-ssms\" target=\"_blank\" rel=\"noopener\">Get SSMS<\/a><\/li>\n<li>Open SSMS and connect to SQL Server.<\/li>\n<li>Go to Root &gt; Server Objects &gt; Linked Servers node. Right click and click\u00a0<strong>New Linked Server&#8230;<\/strong>\n<div class=\"wp-caption alignnone\">\n<p><a href=\"https:\/\/i1.wp.com\/zappysys.com\/blog\/wp-content\/uploads\/2018\/03\/create-new-linked-server-ssms.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/zappysys.com\/blog\/wp-content\/uploads\/2018\/03\/create-new-linked-server-ssms.png?w=720&amp;ssl=1\" alt=\"Add Linked Server in SQL Server\" width=\"420\" height=\"262\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Linked Server in SQL Server<\/p>\n<\/div>\n<\/li>\n<li>\u00a0Now enter the linked server name, select Provider as SQL Native Client<\/li>\n<li>Enter data source as\u00a0<strong><span class=\"lang:default decode:true crayon-inline\">GatewayServerName, PORT_NUMBER<\/span><\/strong>\u00a0where server name is where ZappySys Gateway is running (Can be same as SQL Server machine or remote machine). Default PORT_NUMBER is 5000 but confirm on Data gateway &gt; General tab in case its different.<\/li>\n<li>Enter Catalog Name. This must match name from Data gateway Data sources grid &gt; Name column\n<div class=\"wp-caption alignnone\">\n<p><a href=\"https:\/\/i1.wp.com\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/ssms-sql-server-configure-linked-server-1.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/zappysys.com\/blog\/wp-content\/uploads\/2018\/11\/ssms-sql-server-configure-linked-server-1.png?w=720&amp;ssl=1\" alt=\"Configure Linked Server Provider, Catalog, Server, Port for ZappySys Data Gateway Connection\" width=\"643\" height=\"496\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Linked Server Provider, Catalog, Server, Port for ZappySys Data Gateway Connection<\/p>\n<\/div>\n<\/li>\n<li>Click on Security Tab and select last option &#8220;<strong>Be made using this security context<\/strong>&#8220;. Enter your gateway user account here.<\/li>\n<li>Click OK to save Linked Server<\/li>\n<\/ol>\n<h3>Insert data in JIRA from SQL Server (Call POST API Method)<\/h3>\n<ol>\n<li>To Insert the issue in JIRA we need to execute the query like this. Please refer to this link for more information: <a href=\"https:\/\/developer.atlassian.com\/server\/jira\/platform\/jira-rest-api-examples\/#creating-an-issue-examples\" target=\"_blank\" rel=\"noopener\">Creating an issue example.<\/a><br \/>\n<div class=\"su-note\"  style=\"border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fff8b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">Important Note*: If you don&#8217;t pass META='{xxxx}&#8217; in query driver call REST API 2 times first time to parse metadata and second time to get actual data. So that you find some odd thing in JIRA\u00a0project if you execute the query without Meta then you will find two same issues created in your JIRA project as the driver makes two calls as mentioned above.<\/div><\/div>\n<pre class=\"lang:default decode:true\">SELECT * FROM OPENQUERY([MY_LINKED_SERVER_NAME], \r\n'SELECT * FROM $\r\nWITH( META=''[{\"Name\": \"Success\",\"Type\": \"Int32\"}]''\r\n     ,Src=''https:\/\/zappysys2.atlassian.net\/rest\/api\/2\/issue\/''\r\n     ,RequestData=''{\r\n       \"fields\": {\r\n        \"project\":\r\n        {\r\n          \"id\": \"10110\"\r\n        },\r\n        \"summary\": \"No REST for the Wicked.\",\r\n        \"description\": \"Creating of an issue using IDs for projects and issue types using the REST API\",\r\n        \"issuetype\": {\r\n          \"id\": \"1\"\r\n       }\r\n     }\r\n}''\r\n,Header=''Content-Type: application\/json || Accept: *\/*''\r\n,RequestMethod=''POST''\r\n)')<\/pre>\n<\/li>\n<li>Here is the preview after you run REST API query in SQL Server. It will return created issue id, key, and Link. Now let&#8217;s note down this response to update and delete the same issue if you want to. Notice that you can override default configuration by supplying\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/odbc-powerpack\/scr\/json-odbc-driver-connectionstring.htm\" target=\"_blank\" rel=\"noopener\">many parameters<\/a>\u00a0in WITH clause.\n<div id=\"attachment_5993\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-insert-issue-in-jira.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5993\" class=\"wp-image-5993 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-insert-issue-in-jira-768x607.png\" alt=\"odbc-insert-issue-in-jira\" width=\"720\" height=\"569\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-insert-issue-in-jira-768x607.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-insert-issue-in-jira-300x237.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-insert-issue-in-jira.png 831w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-5993\" class=\"wp-caption-text\">Insert Issue In JIRA Using SQL Query<\/p><\/div><\/li>\n<li>You can also find this created issue in your JIRA project.\n<div id=\"attachment_5994\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/jira-issue-preview-in-browser.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5994\" class=\"wp-image-5994 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/jira-issue-preview-in-browser-768x402.png\" alt=\"jira-issue-preview-in-browser\" width=\"720\" height=\"377\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/jira-issue-preview-in-browser-768x402.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/jira-issue-preview-in-browser-300x157.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/jira-issue-preview-in-browser-1024x536.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/jira-issue-preview-in-browser.png 1384w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-5994\" class=\"wp-caption-text\">Created Issue in JIRA<\/p><\/div><\/li>\n<\/ol>\n<h3>Update data in JIRA from SQL Server (Call PUT API Method)<\/h3>\n<ol>\n<li>Let&#8217;s update the issue which we created in the previous step using id. I Added Extra Meta details in Query to prevent driver to make two calls and also to prevent error as JIRA Rest API Response is a blank <span class=\"lang:default decode:true crayon-inline\">Status code of &#8220;204 No Content&#8221;<\/span>. Please refer to this link for more information: <a href=\"https:\/\/developer.atlassian.com\/server\/jira\/platform\/jira-rest-api-examples\/#editing-an-issue-examples\" target=\"_blank\" rel=\"noopener\">Updating an Issue via the JIRA REST APIs<\/a>\n<pre class=\"lang:tsql decode:true\">SELECT * FROM OPENQUERY([MY_LINKED_SERVER_NAME]\r\n, 'SELECT * FROM $\r\n   WITH(META=''[{\"Name\": \"Success\",\"Type\": \"Int32\"}]'' ,\r\n\t Src=''https:\/\/zappysys2.atlassian.net\/rest\/api\/2\/issue\/10391''\r\n\t,DataConnectionType=''HTTP''\r\n\t,RequestData=''{\r\n    \"fields\": {\r\n       \"summary\": \"Updated One!...Ye merry gentlemen.\"\r\n   }\r\n}''\r\n\t,Header=''Content-Type: application\/json || Accept: *\/*''\r\n\t,RequestMethod=''PUT''\r\n)')\r\n<\/pre>\n<\/li>\n<li>Let&#8217;s is the preview after you running update query in SQL Server.\n<div id=\"attachment_6004\" style=\"width: 541px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-update-jira-issue.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6004\" class=\"wp-image-6004 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-update-jira-issue.png\" alt=\"odbc-update-jira-issue\" width=\"531\" height=\"433\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-update-jira-issue.png 531w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/odbc-update-jira-issue-300x245.png 300w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/a><p id=\"caption-attachment-6004\" class=\"wp-caption-text\">Update Jira Issue From SQL Server<\/p><\/div><\/li>\n<li>Now, Let&#8217;s see the updated issue in JIRA project.\n<div id=\"attachment_5997\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5997\" class=\"wp-image-5997 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira-768x413.png\" alt=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira.png\" width=\"720\" height=\"387\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira-768x413.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira-300x161.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira-1024x550.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/updated-issue-in-jira.png 1600w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-5997\" class=\"wp-caption-text\">Updated Issue In JIRA Project<\/p><\/div><\/li>\n<li>One Import note if you don&#8217;t add that metadata then you will get an error like below as JIRA Rest API Response is a blank &#8220;Status code of &#8216;204 No Content'&#8221;. If you don&#8217;t set META the REST API Make Two calls First to parse metadata and for the second time to get actual data.<br \/>\n<div class=\"su-note\"  style=\"border-color:#e5ae9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#ffc8b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">Query execution error: No data returned for specified table name or filter expression. Make sure table name or filter is typed correctly (it is case sensitive) and input data contains a corresponding element(s).<\/div><\/div><\/li>\n<\/ol>\n<h3>Delete data in JIRA from SQL Server (Call DELETE API Method)<\/h3>\n<ol>\n<li>Now let&#8217;s delete the issue which we created by executing following query in SQL Server. We also need to add extra meta details in query same as update one as JIRA Rest API Response is a blank <span class=\"lang:default decode:true crayon-inline\">Status code of &#8220;204 No Content&#8221;<\/span>. Please refer to this link for more information: <a href=\"https:\/\/docs.atlassian.com\/software\/jira\/docs\/api\/REST\/7.13.0\/?_ga=2.35527399.715857694.1546329197-716615697.1528110605#api\/2\/issue-deleteIssue\" target=\"_blank\" rel=\"noopener\">Delete an Issue via the JIRA REST API<\/a>\n<pre class=\"lang:tsql decode:true\">SELECT * FROM OPENQUERY([MY_LINKED_SERVER_NAME]\r\n, 'SELECT * FROM $\r\n   WITH(META=''[{\"Name\": \"Success\",\"Type\": \"Int32\"}]'' ,\r\n\t Src=''https:\/\/zappysys2.atlassian.net\/rest\/api\/2\/issue\/10391''\r\n\t,DataConnectionType=''HTTP''\r\n\t,Header=''Content-Type: application\/json || Accept: *\/*''\r\n\t,RequestMethod=''DELETE''\r\n)')\r\n<\/pre>\n<\/li>\n<li>Now, Let&#8217;s check the deleted issue in JIRA project.\n<div id=\"attachment_6006\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/deleted-issue-in-jira.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6006\" class=\"wp-image-6006 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/deleted-issue-in-jira-768x412.png\" alt=\"deleted-issue-in-jira\" width=\"720\" height=\"386\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/deleted-issue-in-jira-768x412.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/deleted-issue-in-jira-300x161.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/deleted-issue-in-jira-1024x549.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/deleted-issue-in-jira.png 1599w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-6006\" class=\"wp-caption-text\">Issue Deleted in JIRA Project<\/p><\/div><\/li>\n<\/ol>\n<h3>Create multiple JIRA\u00a0issues using SQL Server Stored Proc<\/h3>\n<p>Now lets put all previous things to more practical use. We will create a stored procedure which will read Issues stored in a SQL Table and Submit it to JIRA to create new Issue via REST API call. This will make it totally dynamic so SQL Table can act as your Source of information for API call.<\/p>\n<ol>\n<li>Let&#8217;s create stored procedure to read data from &#8220;tblIssues&#8221; data table and create bulk issues in JIRA.\n<pre class=\"lang:default decode:true\">alter PROCEDURE usp_AddMultipleJiraIssues\r\nAS\r\nBEGIN\r\n\r\nDeclare @issueTemp nvarchar(2000)\r\nDeclare @PostQuery nvarchar(MAX)\r\nDeclare @strIssues nvarchar(MAX)\r\nset @PostQuery='';\r\nset @strIssues='';\r\n\r\n---- Template \r\nset @issueTemp=\t'{\r\n\t\t\t\"fields\": {\r\n\t\t\t\t\"project\": {\r\n\t\t\t\t\t\"key\": \"&lt;YOUR-JIRA-PROJECT-KEY&gt;\"\r\n\t\t\t\t},\r\n\t\t\t\t\"summary\": \"[ISSUE-SUMMARY]\",\r\n\t\t\t\t\"description\": \"[ISSUE-DESCRIPTION]\",\r\n\t\t\t        \"issuetype\": {\r\n\t\t\t\t\t  \"id\": \"&lt;YOUR-JIRA-ISSUE-TYPE&gt;\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}';\r\n\r\n-----Generate issues JSON String from the data table \r\nSelect @strIssues = @strIssues\r\n                    + REPLACE(REPLACE(@issueTemp,'[ISSUE-SUMMARY]',isnull(i.summary,''))\r\n                                             ,'[ISSUE-DESCRIPTION]',isnull(i.description,''))\r\n                    + ',' \r\nfrom tblissues i\r\n\r\n-----Trim last , comma from the string otherwise you will get an error \r\nSET @strIssues = LEFT(@strIssues,(LEN(@strIssues)-1))\r\n\r\n-----JIRA Post Query\r\nSET @PostQuery= 'SELECT * FROM OPENQUERY([UPDATE_JIRA_DATA_JSON_DRIVER]\r\n\t\t\t\t\t, ''SELECT * FROM $\r\n\t\t\t\t\tWITH(\r\n\t\t\t\t\t\tMETA=''''[{\"Name\": \"Success\",\"Type\": \"Int32\"}]''''\r\n                                                ,Src=''''https:\/\/zappysys2.atlassian.net\/rest\/api\/2\/issue\/bulk''''\r\n\t\t\t\t\t\t,DataConnectionType=''''HTTP''''\r\n\t\t\t\t\t\t,RequestData=''''{\r\n\t\t\t\t\t\t   \"issueUpdates\": [' + @strIssues + ']\r\n\t\t\t\t\t        }''''\r\n\t\t\t\t\t\t,Header=''''Content-Type: application\/json || Accept: *\/*''''\r\n\t\t\t\t\t\t,RequestMethod=''''POST''''\r\n\t\t\t\t\t)'')'\r\n\r\n--Print(@PostQuery)\r\n\r\n----Posting issues data in JIRA\r\nExecute(@PostQuery)\r\n\r\nEND\r\nGO\r\n<\/pre>\n<\/li>\n<li>That&#8217;s it now executes the stored procedure and you will find bulk issues created in your JIRA project.\n<div id=\"attachment_6132\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/created-issue-in-jira.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6132\" class=\"wp-image-6132 size-medium_large\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/created-issue-in-jira-768x416.png\" alt=\"Bulk Issues Created In Jira\" width=\"720\" height=\"390\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/created-issue-in-jira-768x416.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/created-issue-in-jira-300x162.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/created-issue-in-jira-1024x554.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/created-issue-in-jira.png 1349w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-6132\" class=\"wp-caption-text\">Bulk Issues Created In Jira<\/p><\/div><\/li>\n<\/ol>\n<h2><span id=\"Step-by-Step_Import_REST_API_into_Power_BI\">Conclusion<\/span><\/h2>\n<p>In this blog, we learned how to generate a JIRA API Token and how to configure it,\u00a0 Insert, Update and delete Issue in JIRA using\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-json-rest-api-driver\/\" target=\"_blank\" rel=\"noopener\">ODBC JSON \/ REST API Driver<\/a> from the SQL server. You can achieve many more functionalities with this tool. Check our blogs\/articles on <a href=\"https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/json-rest-api-driver\/\"><strong>JSON \/ REST API Driver<\/strong><\/a> to find out what\u00a0<em>this tool<\/em>\u00a0is capable of more.<\/p>\n<h2><span id=\"References\">References<\/span><\/h2>\n<p>Finally, you can use the following links for more information about the use of JIRA API with our tools:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.atlassian.com\/software\/jira\/docs\/api\/REST\/7.13.0\/\" target=\"_blank\" rel=\"noopener\">JIRA Documentation for API<\/a><\/li>\n<li><strong>Landing Page<\/strong>\u00a0for <a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-json-rest-api-driver\/\" target=\"_blank\" rel=\"noopener\">ODBC JSON \/ REST API Driver<\/a>, you can also find\u00a0<a href=\"https:\/\/youtu.be\/iwezz0Z3D4U\" target=\"_blank\" rel=\"noopener\">Tutorial Video<\/a>\u00a0here.<\/li>\n<li><strong>Help File:<\/strong>\u00a0Documentation of\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/odbc-powerpack\/index.htm#page=json-odbc-driver-intro.htm\" target=\"_blank\" rel=\"noopener\">JSON Driver<\/a>.<\/li>\n<li><strong>Blog\/articles link<\/strong>: <a href=\"https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/json-rest-api-driver\/\" target=\"_blank\" rel=\"noopener\">https:\/\/zappysys.com\/blog\/category\/odbc-powerpack\/odbc-drivers\/json-rest-api-driver\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In our previous blog we saw how to read JIRA data in SQL Server. In this blog, we will learn how to\u00a0Insert, Update and Delete Issue in JIRA using ZappySys JSON Driver. We will also read data from SQL Server data table in stored-procedure and insert JIRA issues in bulk, along with few other [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":5958,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[277,380,276,176,347],"tags":[353,279,3,432],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Insert, Update and Delete JIRA Issue in SQL Server | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Insert, Update and delete Issue in JIRA, SQL table data and insert issues in bulk in JIRA using Store procedure, Update and delete issue in JIRA with ODBC.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Insert, Update and Delete JIRA Issue in SQL Server | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Insert, Update and delete Issue in JIRA, SQL table data and insert issues in bulk in JIRA using Store procedure, Update and delete issue in JIRA with ODBC.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2019-01-09T08:44:01+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2025-03-19T07:07:08+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"349\" \/>\r\n\t<meta property=\"og:image:height\" content=\"342\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/\",\"url\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/\",\"name\":\"Insert, Update and Delete JIRA Issue in SQL Server | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png\",\"datePublished\":\"2019-01-09T08:44:01+00:00\",\"dateModified\":\"2025-03-19T07:07:08+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\"},\"description\":\"Insert, Update and delete Issue in JIRA, SQL table data and insert issues in bulk in JIRA using Store procedure, Update and delete issue in JIRA with ODBC.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png\",\"width\":349,\"height\":342,\"caption\":\"Write in JIRA\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Insert, Update and Delete JIRA Issue in SQL Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"url\":\"https:\/\/zappysys.com\/blog\/author\/hshah\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Insert, Update and Delete JIRA Issue in SQL Server | ZappySys Blog","description":"Insert, Update and delete Issue in JIRA, SQL table data and insert issues in bulk in JIRA using Store procedure, Update and delete issue in JIRA with ODBC.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/","og_locale":"en_US","og_type":"article","og_title":"Insert, Update and Delete JIRA Issue in SQL Server | ZappySys Blog","og_description":"Insert, Update and delete Issue in JIRA, SQL table data and insert issues in bulk in JIRA using Store procedure, Update and delete issue in JIRA with ODBC.","og_url":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/","og_site_name":"ZappySys Blog","article_published_time":"2019-01-09T08:44:01+00:00","article_modified_time":"2025-03-19T07:07:08+00:00","og_image":[{"width":349,"height":342,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/","url":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/","name":"Insert, Update and Delete JIRA Issue in SQL Server | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png","datePublished":"2019-01-09T08:44:01+00:00","dateModified":"2025-03-19T07:07:08+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35"},"description":"Insert, Update and delete Issue in JIRA, SQL table data and insert issues in bulk in JIRA using Store procedure, Update and delete issue in JIRA with ODBC.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/01\/write-in-jira.png","width":349,"height":342,"caption":"Write in JIRA"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/insert-update-delete-jira-issue-sql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Insert, Update and Delete JIRA Issue in SQL Server"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","caption":"ZappySys"},"url":"https:\/\/zappysys.com\/blog\/author\/hshah\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/5946"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=5946"}],"version-history":[{"count":38,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/5946\/revisions"}],"predecessor-version":[{"id":11253,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/5946\/revisions\/11253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/5958"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=5946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=5946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=5946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}