{"id":1231,"date":"2024-08-28T15:47:27","date_gmt":"2024-08-28T14:47:27","guid":{"rendered":"https:\/\/france.magicsoftware.com\/blog\/?p=1231"},"modified":"2024-09-16T08:38:22","modified_gmt":"2024-09-16T07:38:22","slug":"jira-cloud-and-magic-xpi","status":"publish","type":"post","link":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/jira-cloud-and-magic-xpi\/","title":{"rendered":"JIRA Cloud and Magic xpi"},"content":{"rendered":"\n<p>Goal : Create, modify and delete, &#8230; JIRA issues<\/p>\n\n\n\n<p>Describe the different steps for connecting Magic xpi with JIRA cloud platform5 using REST API with Basic Auth or OAuth2<\/p>\n\n\n\n<p>1\/ Check with Postman the connection with your User and Password<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"474\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_1_-1024x474.png\" alt=\"\" class=\"wp-image-1263\" style=\"width:894px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_1_-1024x474.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_1_-300x139.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_1_-768x356.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_1_.png 1162w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2\/ (*) For OAuth2, define an apps in the atlassian developer console with desired scope and get all the credentials (Client ID, Client secret, Callback URL ).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_4-1-1024x588.png\" alt=\"\" class=\"wp-image-1246\" style=\"width:719px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_4-1-1024x588.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_4-1-300x172.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_4-1-768x441.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_4-1.png 1455w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3\/ (*) For OAuth2 Use Postman to test<\/p>\n\n\n\n<p>Authorize URL : https:\/\/auth.atlassian.com\/authorize?audience=api.atlassian.com<\/p>\n\n\n\n<p>Access token URL : https:\/\/auth.atlassian.com\/oauth\/token<\/p>\n\n\n\n<p>Scope : read:jira-work write:jira-work read:jira-user<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"829\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_2.png\" alt=\"\" class=\"wp-image-1239\" style=\"width:475px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_2.png 961w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_2-300x259.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_2-768x663.png 768w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/figure>\n\n\n\n<p>(*) Future use OAuth2 (Execute a Get on https:\/\/api.atlassian.com\/oauth\/token\/accessible-resources)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"644\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_3_-1024x644.png\" alt=\"\" class=\"wp-image-1256\" style=\"width:587px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_3_-1024x644.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_3_-300x189.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_3_-768x483.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_3_.png 1084w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>(*) Future use for OAuth2 (Copy the<strong> id of your Jira project<\/strong> and Execute a GET on https:\/\/api.atlassian.com\/ex\/jira\/&lt;id&gt;\/rest\/api\/2\/project)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"653\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_5-1024x653.png\" alt=\"\" class=\"wp-image-1258\" style=\"width:794px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_5-1024x653.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_5-300x191.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_5-768x490.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_5.png 1263w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4\/ Download Open API file from Atlassian from https:\/\/developer.atlassian.com\/cloud\/jira\/platform\/rest\/v3\/intro\/<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"346\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_6-1024x346.png\" alt=\"\" class=\"wp-image-1265\" style=\"width:889px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_6-1024x346.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_6-300x101.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_6-768x260.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_6-1536x519.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_6.png 1709w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5\/ Open a Magic xpi project and define a REST Client Resource<\/p>\n\n\n\n<p>Rename the Resource to \u00ab\u00a0JIRA_REST_Basic\u00a0\u00bb and set API Definition to \u00ab\u00a0Open Api\u00a0\u00bb and clic the \u00ab\u00a0Load OpenAPI\u00a0\u00bb button<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"695\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_7-1024x695.png\" alt=\"\" class=\"wp-image-1268\" style=\"width:765px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_7-1024x695.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_7-300x204.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_7-768x521.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_7.png 1152w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6\/ Click on \u00ab\u00a0Paths\u00a0\u00bb to discover all the endpoints available in other to play with JIRA<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"483\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_8-1024x483.png\" alt=\"\" class=\"wp-image-1271\" style=\"width:900px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_8-1024x483.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_8-300x142.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_8-768x362.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_8-1536x725.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_8.png 1657w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6\/ Design a new flow and Drag and Drop the Rest Client connector.<\/p>\n\n\n\n<p>Choose Path : \/rest\/api\/3\/issue\/{issueIdOrKey} and Get operation and click OK<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_9-1024x455.png\" alt=\"\" class=\"wp-image-1273\" style=\"width:1017px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_9-1024x455.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_9-300x133.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_9-768x341.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_9.png 1514w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"831\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_10-1024x831.png\" alt=\"\" class=\"wp-image-1276\" style=\"width:525px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_10-1024x831.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_10-300x244.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_10-768x624.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_10.png 1053w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Set the Jira issue name to issueIdOrKey field (\u00ab\u00a0MAG-1\u00a0\u00bb in my case)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"238\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_11-1024x238.png\" alt=\"\" class=\"wp-image-1278\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_11-1024x238.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_11-300x70.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_11-768x178.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_11-1536x357.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_11.png 1700w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>7\/ Execute the flow in Debug Mode.<\/p>\n\n\n\n<p>You get the response in the C.UserBlob variable<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_12-1024x468.png\" alt=\"\" class=\"wp-image-1279\" style=\"width:1031px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_12-1024x468.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_12-300x137.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_12-768x351.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_12-1536x703.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_12.png 1729w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"491\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_13-1024x491.png\" alt=\"\" class=\"wp-image-1281\" style=\"width:1045px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_13-1024x491.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_13-300x144.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_13-768x368.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_13-1536x737.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_13.png 1549w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>8\/ <strong>To create a JIRA issue<\/strong>, you have to use the Data Mapper with the correct JSON schema in other to create the JSON request<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"456\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_15-1024x456.png\" alt=\"\" class=\"wp-image-1303\" style=\"width:944px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_15-1024x456.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_15-300x134.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_15-768x342.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_15.png 1491w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>9\/ Drag And Drop REST Client connector and execute a POST on \/rest\/api\/3\/issue with the previous JSON (F.JSONrequest)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"545\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_16-1024x545.png\" alt=\"\" class=\"wp-image-1306\" style=\"width:874px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_16-1024x545.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_16-300x160.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_16-768x408.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_16.png 1401w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_17-1024x433.png\" alt=\"\" class=\"wp-image-1308\" style=\"width:722px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_17-1024x433.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_17-300x127.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_17-768x325.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_17.png 1474w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You should receive a 201 created in the status<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"431\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_19-1024x431.png\" alt=\"\" class=\"wp-image-1314\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_19-1024x431.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_19-300x126.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_19-768x324.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_19.png 1460w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_20-1024x481.png\" alt=\"\" class=\"wp-image-1319\" style=\"width:671px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_20-1024x481.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_20-300x141.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_20-768x361.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_20-1536x722.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_20.png 1615w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>10\/ After the REST Client Step, you can parse the response with the Datamapper and the Json schema to catch the JiraId and JiraKey<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"244\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_18-1024x244.png\" alt=\"\" class=\"wp-image-1311\" style=\"width:927px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_18-1024x244.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_18-300x71.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_18-768x183.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_18.png 1142w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>11\/ <strong>To delete a JIRA issue<\/strong>, you need to have the correct right (see Delete permission in JIRA)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"436\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_21-1024x436.png\" alt=\"\" class=\"wp-image-1322\" style=\"width:845px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_21-1024x436.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_21-300x128.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_21-768x327.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_21-1536x654.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_21.png 1845w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Drag And Drop REST Client connector and execute a Delete on the path : \/rest\/api\/3\/issue\/{issueIdOrKey} and pass the Jira Issue Key<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"641\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_23.png\" alt=\"\" class=\"wp-image-1323\" style=\"width:601px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_23.png 934w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_23-300x206.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_23-768x527.png 768w\" sizes=\"auto, (max-width: 934px) 100vw, 934px\" \/><\/figure>\n\n\n\n<p>You should receive status 204 No Content<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_22-1024x318.png\" alt=\"\" class=\"wp-image-1324\" style=\"width:671px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_22-1024x318.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_22-300x93.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_22-768x239.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_22.png 1326w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>8\/  For OAuth2 authentification, you have to create a REST Client Magic xpi resource with \u00ab\u00a0Security\u00a0\u00bb set to \u00ab\u00a0OAuth2\u00a0\u00bb and pass all the required parameters<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"564\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_14-1-1024x564.png\" alt=\"\" class=\"wp-image-1291\" style=\"width:839px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_14-1-1024x564.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_14-1-300x165.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_14-1-768x423.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/08\/JIRA_14-1.png 1452w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> (*) uuid in the <strong>Server URL<\/strong> correspond to your Jira project id (see step 3)<\/p>\n\n\n\n<p><strong>(**) Currently the Access Token cannot be retrieved because of a technical issue &#8230; to continue<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Goal : Create, modify and delete, &#8230; JIRA issues Describe the different steps for connecting Magic xpi with JIRA cloud platform5 using REST API with Basic Auth or OAuth2 1\/ Check with Postman the connection with your User and Password 2\/ (*) For OAuth2, define an apps in the atlassian developer console with desired scope [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1233,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[42,4],"tags":[51,50,14],"class_list":["post-1231","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jira","category-magic-xpi","tag-cloud","tag-jira","tag-magic-xpi"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/07\/JIRA_1.png","_links":{"self":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/1231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/comments?post=1231"}],"version-history":[{"count":52,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/1231\/revisions"}],"predecessor-version":[{"id":1340,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/1231\/revisions\/1340"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/media\/1233"}],"wp:attachment":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/media?parent=1231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/categories?post=1231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/tags?post=1231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}