{ "info": { "name": "Jira Cloud API Create component", "_postman_id": "b3df95fa-ca34-452e-8865-398182363358", "description": "Creates a component. Use components to provide containers for issues within a project. [Permissions](https://confluence.atlassian.com/x/FQiiLQ) required: Any of the following:\n\n* _Administer Jira_ [global permission](https://confluence.atlassian.com/x/x4dKLg).\n* _Administer projects_ [project permission](https://confluence.atlassian.com/x/yodKLg).", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Application", "item": [ { "id": "349b8483-4b0a-4493-bfb7-0a9f1c1300cb", "name": "com.atlassian.jira.rest.v2.admin.ApplicationPropertiesResource.getApplicationProperty_get", "request": { "url": "{{default}}/api/2/application-properties?key=%7B%7D&keyFilter=%7B%7D&permissionLevel=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns an application property." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "95b58a66-6cd3-41b4-9068-19d5b71720a5" } ] }, { "id": "731b081a-7a8a-4493-88be-3f4aa7f736d1", "name": "com.atlassian.jira.rest.v2.admin.applicationrole.ApplicationRoleResource.getAllApplicationRoles_get", "request": { "url": "{{default}}/api/2/applicationrole", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns all ApplicationRoles in the system. Will also return an ETag header containing a version hash of the collection of ApplicationRoles." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "36605457-8a37-473c-af83-ab95db2c868c" } ] }, { "id": "872ff666-9c6b-46ca-9eb3-7b7eaa40253d", "name": "com.atlassian.jira.rest.v2.admin.applicationrole.ApplicationRoleResource.getApplicationRole_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/applicationrole/:key" ], "variable": [ { "id": "key", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the ApplicationRole with passed key if it exists." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "2a5a6949-6d8e-4b7a-a858-241adc7d8ad4" } ] } ] }, { "name": "Advanced", "item": [ { "id": "9eaf2892-5b79-451c-b071-b0b9a3cab3b8", "name": "com.atlassian.jira.rest.v2.admin.ApplicationPropertiesResource.getAdvancedSettings_get", "request": { "url": "{{default}}/api/2/application-properties/advanced-settings", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the properties that are displayed on the General Configuration Advanced Settings page." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "831f8858-0ffe-43ad-abf4-6a7455ac9c2d" } ] } ] }, { "name": "Set", "item": [ { "id": "8f344ea0-b881-49f7-93c0-821ff934122e", "name": "com.atlassian.jira.rest.v2.admin.ApplicationPropertiesResource.setApplicationProperty_put", "request": { "url": { "host": "{{default}}", "path": [ "api/2/application-properties/:id" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Modify an application property via PUT. The \"value\" field present in the PUT will override the existing value." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "46b9cf18-21f2-4465-aded-c756fc2fe1d6" } ] }, { "id": "0761b454-b0d4-4d73-bd99-892d74de4a39", "name": "com.atlassian.jira.rest.v2.issue.CommentPropertyResource.setCommentProperty_put", "request": { "url": { "host": "{{default}}", "path": [ "api/2/comment/:commentId/properties/:propertyKey" ], "variable": [ { "id": "commentId", "value": "{}", "type": "string" }, { "id": "propertyKey", "value": "{}", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Sets the value of the specified comment's property.\n\nYou can use this resource to store a custom data against the comment identified by the key or by the id. The user who stores the data is required to have permissions to administer the comment." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "83346792-ecb9-4655-b436-52faaf8d0701" } ] } ] }, { "name": "Global", "item": [ { "id": "89128daf-7e1d-4294-a0f8-d305267bf026", "name": "com.atlassian.jira.rest.v2.issue.attachment.AttachmentResource.getAttachmentMeta_get", "request": { "url": "{{default}}/api/2/attachment/meta", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the global attachment settings, that is, whether attachments are enabled and the maximum attachment size allowed. \n \nNote that there are also [project permissions](https://confluence.atlassian.com/x/yodKLg) that restrict whether users can create and delete attachments or not. \n \n**[Permissions](https://confluence.atlassian.com/x/FQiiLQ) required:** None." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "ba67f348-fd83-4c3f-91b3-2c295ac1e1ea" } ] } ] }, { "name": "Attachment", "item": [ { "id": "7a710a27-b56f-40c6-8752-30b5a27d850a", "name": "com.atlassian.jira.rest.v2.issue.attachment.AttachmentResource.getAttachment_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/attachment/:id" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the metadata for an attachment. Note that the attachment itself is not returned. \n \n**[Permissions](https://confluence.atlassian.com/x/FQiiLQ) required:** None, however the calling user must have permission to view the issue that the attachment belongs to." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "c5d345c0-5a91-4b30-805a-bf67913e3e7f" } ] }, { "id": "4140d93f-9b9d-4b2d-8b9a-7256d64002bd", "name": "com.atlassian.jira.rest.v2.issue.attachment.AttachmentResource.removeAttachment_delete", "request": { "url": { "host": "{{default}}", "path": [ "api/2/attachment/:id" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "DELETE", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Deletes an attachment from an issue. \n \n**[Permissions](https://confluence.atlassian.com/x/FQiiLQ) required:** Any of the following permissions in the project that the issue is in:\n\n* _Delete own attachments_ [project permission](https://confluence.atlassian.com/x/yodKLg) to delete an attachment created by the calling user.\n* _Delete all attachments_ [project permission](https://confluence.atlassian.com/x/yodKLg) to delete an attachment created by any user." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "f448829b-90ba-485f-b179-72f09b194263" } ] } ] }, { "name": "Metadataan", "item": [ { "id": "335c5891-58cf-49be-bf8b-31ad78fe0188", "name": "com.atlassian.jira.rest.v2.issue.attachment.AttachmentResource.expandAttachmentForHumans_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/attachment/:id/expand/human" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the metadata for the contents of an attachment, if it is an archive, and metadata for the attachment itself. For example, if the attachment is a ZIP archive, then information about the files in the archive is returned and metadata for the ZIP archive. Currently, only the ZIP archive format is supported. \n \nUse this method to retrieve data that is presented in the UI, as this method returns the metadata for the attachment itself, such as the attachment's ID and name. Otherwise, use [Get contents metadata for an expanded attachment](https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-attachment-id-expand-raw-get), which only returns the metadata for the attachment's contents. \n \n**[Permissions](https://confluence.atlassian.com/x/FQiiLQ) required:** None, however the calling user must have permission to view the issue that the attachment belongs to." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "e8d26682-eb9e-4356-8a65-723cb8432f28" } ] } ] }, { "name": "Contents", "item": [ { "id": "1a68978b-6146-43af-94c7-7e3274e21100", "name": "com.atlassian.jira.rest.v2.issue.attachment.AttachmentResource.expandAttachmentForMachines_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/attachment/:id/expand/raw" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the metadata for the contents of an attachment, if it is an archive. For example, if the attachment is a ZIP archive, then information about the files in the archive is returned. Currently, only the ZIP archive format is supported. \n \nUse this method if you are processing the data without presenting it in the UI, as this method only returns the metadata for the contents of the attachment. Otherwise, to retrieve data to present in the UI, use [Get all metadata for an expanded attachment](https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-attachment-id-expand-human-get) which also returns the metadata for the attachment itself, such as the attachment's ID and name. \n \n**[Permissions](https://confluence.atlassian.com/x/FQiiLQ) required:** None, however the calling user must have permission to view the issue that the attachment belongs to." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "a389c4d3-5ed2-4dd6-b63f-8e303db20020" } ] } ] }, { "name": "Audit", "item": [ { "id": "91935c0d-dd7d-423d-921c-93fa58186f5d", "name": "com.atlassian.jira.rest.v2.admin.auditing.AuditingResource.getAuditRecords_get", "request": { "url": "{{default}}/api/2/auditing/record?filter=%7B%7D&from=%7B%7D&limit=%7B%7D&offset=%7B%7D&to=%7B%7D", "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns auditing records filtered using provided parameters" }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "ce4816d6-b616-4b83-bbda-d12303b38efa" } ] } ] }, { "name": "System", "item": [ { "id": "42ca56a6-774c-4a59-b86b-1868ee000efb", "name": "com.atlassian.jira.rest.v2.issue.AvatarResource.getAllSystemAvatars_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/avatar/:type/system" ], "variable": [ { "id": "type", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns all system avatars of the given type." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "1968908a-5c3f-4731-bb63-10c45c50240c" } ] } ] }, { "name": "Comments", "item": [ { "id": "c55dda06-bdf6-4266-b25d-ee63f2aa49f5", "name": "com.atlassian.jira.rest.v2.issue.IssueCommentListResource.getCommentsByIds_post", "request": { "url": "{{default}}/api/2/comment/list?expand=%7B%7D", "method": "POST", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns comments for given comments ids. Only comments to which the user has permissions, will be included in the result. The returned set of comments is limited to 1000 elements." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "58d8be15-3ff1-499d-807b-b7bffae67e86" } ] } ] }, { "name": "Comment", "item": [ { "id": "02703082-bdbd-4f39-b52d-73cc4fb22043", "name": "com.atlassian.jira.rest.v2.issue.CommentPropertyResource.getCommentPropertyKeys_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/comment/:commentId/properties" ], "variable": [ { "id": "commentId", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the keys of all properties for the comment identified by the key or by the id." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "9bd3d9e1-35dd-419c-ac97-972297e1f7fa" } ] }, { "id": "b8d53e38-df07-4f99-8b71-e9dcf2b55c84", "name": "com.atlassian.jira.rest.v2.issue.CommentPropertyResource.getCommentProperty_get", "request": { "url": { "host": "{{default}}", "path": [ "api/2/comment/:commentId/properties/:propertyKey" ], "variable": [ { "id": "commentId", "value": "{}", "type": "string" }, { "id": "propertyKey", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Returns the value of the property with a given key from the comment identified by the key or by the id. The user who retrieves the property is required to have permissions to read the comment." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "f6a7a5ef-c882-42f3-a249-5f37301a72e1" } ] }, { "id": "db1f3f34-19cd-44eb-9045-e7f19c392a06", "name": "com.atlassian.jira.rest.v2.issue.CommentPropertyResource.deleteCommentProperty_delete", "request": { "url": { "host": "{{default}}", "path": [ "api/2/comment/:commentId/properties/:propertyKey" ], "variable": [ { "id": "commentId", "value": "{}", "type": "string" }, { "id": "propertyKey", "value": "{}", "type": "string" } ] }, "method": "DELETE", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Removes the property from the comment identified by the key or by the id. Ths user removing the property is required to have permissions to administer the comment." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "f9f74dce-4b22-456c-91e0-b6e55290aa25" } ] } ] }, { "name": "Component", "item": [ { "id": "6b6bf786-5456-4707-a140-f9000d4a9622", "name": "com.atlassian.jira.rest.v2.issue.ComponentResource.createComponent_post", "request": { "url": "{{default}}/api/2/component", "method": "POST", "header": [ { "key": "force-account-id", "value": "{}", "description": "", "disabled": false }, { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Creates a component. Use components to provide containers for issues within a project. [Permissions](https://confluence.atlassian.com/x/FQiiLQ) required: Any of the following:\n\n* _Administer Jira_ [global permission](https://confluence.atlassian.com/x/x4dKLg).\n* _Administer projects_ [project permission](https://confluence.atlassian.com/x/yodKLg)." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "9d614f2c-8925-49f5-8612-c44fc96b4e77" } ] } ] } ], "variable": [ { "key": "default", "value": "http://www.example.com/" } ] }