...
delete: You can only delete your own parameter sets
Update: you can only update your own paramter sets
Optional link parameters:
Link parameter | Description |
---|---|
postLoadAction=execute | will execute the default operation on the target page after the parameter set has been loaded. Adding this parameter to the page type “reporting filter parameter set” will execute the “create” action in the reporting page (example: http(s)://yourJiraHost/secure/secure/ICTimeCreateReportAction!default.jspa?loadParameterSetId=5&postLoadAction=execute |
overrideParam=xxx | This can be used to override parameters either defined in the parameter set or set parameters which are available on the target page. xxx must be a URI encoded Json Object (see examples below) |
Page Types
Reporting filter parameter set
A parameter set of page type “reporting parameter set” can be created from the reporting (Create Reports ).
List of parameters which can be overriden
All values are arrays of strings.
Parameter key | Parameter value description |
---|---|
filterSelection | The Jira (favorite) filter to apply |
issueSelection | Issue key |
projectSelection | List of project ids |
componentSelection | List of components |
versionSelection | List of version Ids |
worklogSortType | Sorting to be used |
teamSelection | List of team ids |
dateRangeType | Period to use. If the period is not CUSTOM, fromPeriod and toPeriod will be overriden. |
fromPeriod | Date from |
toPeriod | Date to |
userSelection | List of user keys (not user names) |
activitySelection | List of activity type ids |
statusSelection | List of (Jira) Status ids |
issueTypeSelection | List of (Jira) Issue Type Ids |
Example
The Json String for user selection for users with keys (user_a and user_b) would look like:
"{"userSelection":["user_a","user_b"]}"
Using this as parameter would result in:
ICTimeCreateReportAction!default.jspa?loadParameterSetId=5&postLoadAction=execute&overrideParam=%7B%22userSelection%22:%5B%22user_a%22,%22user_b%22%5D%7D