Skip to content

Commit 7f2c972

Browse files
authored
Merge pull request #328 from Buuhuu/master
Add expand parameter to getBoardIssuesForSprint
2 parents 75c59da + fab42dd commit 7f2c972

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/jira.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,9 +1930,10 @@ export default class JiraApi {
19301930
* @param {boolean} [validateQuery] - Specifies whether to validate the JQL query or not.
19311931
* Default: true.
19321932
* @param {string} [fields] - The list of fields to return for each issue.
1933+
* @param {string} [fields] - The list of fields to return for each issue.
19331934
*/
19341935
getBoardIssuesForSprint(boardId, sprintId, startAt = 0, maxResults = 50, jql,
1935-
validateQuery = true, fields) {
1936+
validateQuery = true, fields, expand) {
19361937
return this.doRequest(this.makeRequestHeader(this.makeAgileUri({
19371938
pathname: `/board/${boardId}/sprint/${sprintId}/issue`,
19381939
query: {
@@ -1941,6 +1942,7 @@ export default class JiraApi {
19411942
jql,
19421943
validateQuery,
19431944
fields,
1945+
expand
19441946
},
19451947
})));
19461948
}

0 commit comments

Comments
 (0)