Info |
---|
This document provides REST API details and python groovy examples |
...
GET http://localhost:8080/rest/issueproperties/1.0/property/list/issue/?issueKey={issueKey}
GET http://localhost:8080/rest/issueproperties/1.0/property/list/issue/one/?issueKey={issueKey}/&propertyId={propertyId}
Query Parameters:
- projectKey (String) - Jira Project Key
- issueKey (String) - Jira Issue Key
- propertyId (Number) - Property ID
Response: [Status: 200]
Code Block |
---|
$ curl -u"user:pass" username -XGET "http://localhost:8080/rest/issueproperties/1.0/property/list/issue/?issueKey=DT-1" |
Add Issue Properties
POST http://localhost:8080/rest/issueproperties/1.0/property/add
...
- issueKey (String) - Jira Issue Key
- propertyKey (String)
- propertyValue (String)
- wiki (Boolean)
- mask (Boolean)
Response: [Status: 200]
...
- issueKey (String) - Jira Issue Key
- propertyKey (String)
- propertyValue (String)
- wiki (Boolean)
- mask (Boolean)
Response: [Status: 200]
...
- issueKey (String) - Jira Issue Key
- propertyId (Number) - Property ID
- propertyKey (String)
- propertyValue (String)
- wiki (Boolean)
- mask (Boolean)
Response: [Status: 200]
...
POST http://localhost:8080/rest/issueproperties/1.0/property/clone/?fromIssueKey={fromIssueKey}/&toIssueKey={toIssueKey}
Required Parameters:
...
POST http://localhost:8080/rest/issueproperties/1.0/property/move/?fromIssueKey={fromIssueKey}/&toIssueKey={toIssueKey}
Required Parameters:
- fromIssueKey (String) - Jira Issue Key
- toIssueKey (String) - Jira Issue Key
...
http://localhost:8080/rest/issueproperties/1.0/property/remove/issue/?issueKey={issueKey}/&propertyId={propertyId}
http://localhost:8080/rest/issueproperties/1.0/property/remove/bulk/issue/{issueKey}
Code Block |
---|
curl -u"user:pass" -XDELETE http://localhost:8080/rest/issueproperties/1.0/property/remove/issue/DT-1/5 |
Groovy Examples
https://bitbucket.org/scmenthusiast/scmenthusiast-utilities/src/master/issue-properties/groovy/
Python Examples
https://bitbucket.org/scmenthusiast/scmenthusiast-utilities/src/master/issue-properties/python/
...