...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Definition of Request Data for columnFilterJsonObject
Defines possible JSON keys construct for columnFilterJsonObject.
...
Expand |
---|
title | Click here for details... |
---|
|
columnFilterJsonObject Code Block |
---|
title | columnFilterJsonObject |
---|
{
"columns":[
{
"label":"Level 1",
"jiraJql":"",
"jiraFilterId":"",
"linkTypes":[
{
"id":"-1",
"directions":{
"in":true,
"out":true
}
}
],
"currentIssueTypes":[
"-1"
],
"projects":[
"10005,SP,Scrum Project"
],
"fromLevel":-1
}
],
"fields":[],
"folderIssueKeys":[],
"filterId":0,
"folderId":0,
"folderName":"",
"projectId":10005,
"fromColumn":0
} |
columns - an array of objects compose of name, type ("filter", "jql", or "issue types"), filter, and link types that define each column fields - an array of display field ids present in coverage view issue cells (if any) folderIssueKeys - an array of of issue keys used to filter the column (if any) filterId - Jira filter id used to filter column folderId - project tree folder id; used to filter the column by only issues that belong to a certain project tree folder folderName - name of project tree folder used as filter (if any) projectId - the project id that the coverage view is under fromColumn - index of column basis |
...
...
com.easesolutions.jira.plugins.requirements/1.0/coverage/prjKey/createcoverageview
Trigger the creation of a coverage view
Expand |
---|
title | Click here for details... |
---|
|
...
Panel |
---|
|
titleColor | #FFFFFF |
---|
titleBGColor | #6c809a |
titleREQUEST Panel |
---|
| POST
/rest/com.easesolutions.jira.plugins.requirements/1.0/coverage/prjKey/createcoverageview?name&isPublic&columns
|
PARAMETERSparameter | type | description |
---|
prjKey* | string | the project the view to be created | name | string | the name of the view | isPublic | boolean | the visibility of the view | columns | string | an array of objects compose of name, type ("filter", "jql", or "issue types"), filter, and link types example: [ {"name": |
improvement)","linkTypes": |
to","duplicates"]}, {"name": |
[]} ] | fieldsToDisplay | string | an array of field names (Note: name is case sensitive) | folderId | long | the tree folder id (Optional) |
RESPONSES 201 - Returned if a coverage view is created Code Block |
---|
| title | Example Response JSON
Code Block |
---|
View name has been successfully created |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view - Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin - Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage viewRed | title | STATUS 404 |
- Returned if project is not found
...
- Returned if project is not found
|
com.easesolutions.jira.plugins.coverage/1.0/filter/saveFilter
Trigger the creation of a coverage view
Expand |
---|
title | Click here for details... |
---|
|
REQUEST Panel |
---|
| POST
/rest/com.easesolutions.jira.plugins.coverage/1.0/filter/saveFilter
Code Block |
---|
| title |
---|
Example Request JSON Code Block |
---|
{
"projectId": 10000,
"isPublic": true,
"name": "Coverage View",
"addedFieldsJsonArray": ["issuetype","issuekey","status","priority","summary"],
"columnFilterJsonObject": {<this object is defined elsewhere>}
}
Definition:
projectId - the project the view to be created
isPublic - the visibility of the view
name - the name of the view
addedFieldsJsonArray - an array of field names
columnFilterJsonObject - an object containing column data relevant to the coverage view |
RESPONSES 201 - Returned if a coverage view is createdcode | title | Example Response JSON
Code Block |
---|
{
"id": 1,
"name": "Coverage View"
} |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
- Returned if project is not found
---|
...
com.easesolutions.jira.plugins.coverage/1.0/data
Evaluates coverage data for view
Expand |
---|
title | Click here for details... |
---|
|
...
panelREQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/data
Code Block |
---|
| title |
---|
Example Request JSON Code Block |
---|
{
"columns": [{
"label": "Level 1",
"jiraJql": "",
"jiraFilterId": "",
"linkTypes": [{"id": "-1","directions": {"in": true,"out": true}}],
"currentIssueTypes": ["-1"],
"projects": ["10000,DEMO,DEMO"],
"fromLevel": -1
}],
"fields": [],
"folderIssueKeys": [],
"filterId": 0,
"folderId": 0,
"folderName": "",
"projectId": 10000,
"fromColumn": 0,
"isFiltered": false
} |
RESPONSES Status |
---|
colour | Green |
---|
title | STATUS 201 |
---|
| - Returned if data successfully parsed Code Block |
---|
| title | Example Response JSON
Code Block |
---|
{
"headerList":[
{
"label":"Level 1",
"issueTypes":"<any>",
"linkTypes":"<any>",
"fromLevel":-1,
"projects":"DEMO (DEMO)",
"columnTotal":5
}
],
"columns":{
"0":[
{
"issues":[{...}],
"pathid":""
}
]
},
"fromColumn":0,
"maxLimit":1000
} |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
- Returned if project is not found
---|
...
|
titleColor | #FFFFFF |
---|
titleBGColor | #6c809a |
---|
title |
com.easesolutions.jira.plugins.coverage/1.0/displayFields
Get display fields for coverage view
Expand |
---|
title | Click here for details... |
---|
|
...
Panel |
---|
|
titleColor | #FFFFFF |
titleBGColorREQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/displayFields
|
RESPONSES Status |
---|
colour | Green |
---|
title | STATUS 201 |
---|
| - Returned if successful Code Block | titleExample Response JSONJSON Code Block |
---|
[
{
"id": "issuetype",
"name": "Issue Type",
"selected": true
},
....
] | - Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view - Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin - Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view - Returned if project is not found
|
...
com.easesolutions.jira.plugins.coverage/1.0/filter/renameFilter
Rename coverage filter
...
Expand |
---|
title | Click here for details... |
---|
|
REQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/filter/renameFilter
Code Block |
---|
| title |
---|
Example Request JSON Code Block |
---|
{
"projectId": 10000,
"name": "Filter C",
"isPublic": false,
"filterId": "3"
} |
RESPONSES 201 - Returned if successful rename Code Block |
---|
| title | Example Response JSON
Code Block |
---|
{
"id": "3",
"name": "Filter C"
} |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
- Returned if project is not found
---|
...
|
Panel |
---|
titleColor | #FFFFFF |
---|
titleBGColor | #6c809a |
---|
title |
com.easesolutions.jira.plugins.coverage/1.0/filter/updateFilter
Update coverage filter columns
Expand |
---|
title | Click here for details... |
---|
|
...
Panel |
---|
|
titleColor | #FFFFFF |
---|
titleBGColor | #6c809a |
---|
title | REQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/filter/updateFilter
Code Block |
---|
| title |
---|
Example Request JSON Code Block |
---|
{
"projectId": 10000,
"filterId": "4",
"isPublic": true,
"columnFilterJsonObject": "{<this object is defined elsewhere>}",
"addedFieldsJsonArray": ["issuetype","issuekey","status","priority","summary"]
}
Definition:
projectId - the project the view to be created
filterId - id of filter to update
isPublic - the visibility of the view
addedFieldsJsonArray - an array of field names
columnFilterJsonObject - an object containing column data relevant to the coverage view |
RESPONSES 201 - Returned if successful update Code Block | titleExample Response JSON Code Block |
---|
{
"id": "4",
"name": "C",
"columnFilterJsonObject": "{....}",
"addedFieldsJsonArray": "[....]"
} | - Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view - Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin - Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view - Returned if project is not found
|
...
com.easesolutions.jira.plugins.coverage/1.0/filter/deleteFilter
Delete coverage filter
...
Expand |
---|
title | Click here for details... |
---|
|
REQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/filter/deleteFilter |
PARAMETERSparameter | type | description |
---|
projectId | Long | project id of filter to be deleted | filterId | Long | filterId of filter to be deleted |
RESPONSES 201 - Returned if coverage is successfully deleted - Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view - Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin - Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view - Returned if project is not found
|
...
|
Panel |
---|
titleColor | #FFFFFF |
---|
titleBGColor | #6c809a |
---|
title |
com.easesolutions.jira.plugins.coverage/1.0/filter/getAllFilters
Get all public and personal coverage filters for user
Expand |
---|
title | Click here for details... |
---|
|
REQUEST Panel |
---|
| GET
com.easesolutions.jira.plugins.coverage/1.0/filter/getAllFilters
|
RESPONSES Status |
---|
colour | Green |
---|
title | STATUS 201 |
---|
| - Returned if successful Code Block |
---|
| title | Example Response JSON
Code Block |
---|
{
"publicFilters":[
{
"id":"1",
"name":"Filter A",
"projectId": 10000
},
{
"id":"2",
"name":"Filter B",
"projectId": 10001
}
],
"personalFilters":[
{
"id":"3",
"name":"Filter C",
"projectId": 10000
}
]
} |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
- Returned if project is not found
---|
...
com.easesolutions.jira.plugins.coverage/1.0/filter/getFilter
Get specific coverage filter
Expand |
---|
title | Click here for details... |
---|
|
...
Panel |
---|
|
titleColor | #FFFFFF |
---|
titleBGColor | #6c809a |
titleREQUEST Panel |
---|
| GET
com.easesolutions.jira.plugins.coverage/1.0/filter/getFilter
|
PARAMETERSparameter | type | description |
---|
projectId | Long | project id of filter to get | filterId | Long | filterId of filter to get |
RESPONSES 201 - Returned if successful Code Block |
---|
| title | Example Response JSON
Code Block |
---|
{
"id": "1",
"name": "Filter A",
"columnFilterJsonObject": "{....}",
"addedFieldsJsonArray": "[....]"
} |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
Red | title | STATUS 404 |
- Returned if project is not found
...
- Returned if project is not found
|
com.easesolutions.jira.plugins.coverage/1.0/filter/getFilters
Get public and personal coverage filters for project
Expand |
---|
title | Click here for details... |
---|
|
REQUEST Panel |
---|
| GET
com.easesolutions.jira.plugins.coverage/1.0/filter/getFilters
|
PARAMETERSparameter | type | description |
---|
projectId | Long | project id of filter to get |
RESPONSES Status |
---|
colour | Green |
---|
title | STATUS 201 |
---|
| - Returned if successful Code Block |
---|
| title | Example Response JSON
Code Block |
---|
{
"publicFilters": [{"id": "1","name": "Filter A"}, {"id": "2","name": "Filter B"}],
"personalFilters": [{"id": "3","name": "Filter C"}]
} |
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
- Returned if project is not found
---|
...
com.easesolutions.jira.plugins.coverage/1.0/export/excel
Export the coverage view to an excel file
Expand |
---|
title | Click here for details... |
---|
|
...
Panel |
---|
|
titleColor | #FFFFFF |
titleBGColorREQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/export/excel
Code Block |
---|
| title |
---|
Example Request JSON Code Block |
---|
{
"columns": [{
"label": "Level 1",
"jiraJql": "",
"jiraFilterId": "",
"linkTypes": [{
"id": "-1",
"directions": {"in": true,"out": true}
}],
"currentIssueTypes": ["-1"],
"projects": ["10000,DEMO,DEMO"],
"fromLevel": -1,
"issueSize": 0,
"coverageCompleteness": 0
}],
"fields": [],
"folderIssueKeys": [],
"filterId": 0,
"folderId": 0,
"folderName": "",
"projectId": 10000,
"fromColumn": 0,
"isFiltered": false
} |
RESPONSES 201 - Returned if excel file creation is successful Code Block |
---|
| title | Example Response JSON
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
404 - Returned if project is not found
...
com.easesolutions.jira.plugins.coverage/1.0/export/xml
Export the coverage view to an xml file
Expand |
---|
title | Click here for details... |
---|
|
REQUEST Panel |
---|
| POST
com.easesolutions.jira.plugins.coverage/1.0/export/xml
Code Block |
---|
| title |
---|
Example Request JSON Code Block |
---|
{
"columns": [{
"label": "Level 1",
"jiraJql": "",
"jiraFilterId": "",
"linkTypes": [{
"id": "-1",
"directions": {"in": true,"out": true}
}],
"currentIssueTypes": ["-1"],
"projects": ["10000,DEMO,DEMO"],
"fromLevel": -1
}],
"fields": [],
"folderIssueKeys": [],
"filterId": 0,
"folderId": 0,
"folderName": "",
"projectId": 10000,
"fromColumn": 0,
"isFiltered": false
} |
RESPONSES Status |
---|
colour | Green |
---|
title | STATUS 201 |
---|
| - Returned if xml file creation is successfulcode | title | Example Response JSON
- Returned if the project is invalid, name is invalid or already exist, columns is invalid or contains invalid values, or an error occurs while creating the coverage view
- Returned if invalid user credentials, or the user has no permission to use Requirements for JIRA plugin
- Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create coverage view
- Returned if project is not found
---|