Function filterWorklogs

  • Experimental

    Filter worklogs fetched with getIssuesByJQL() method.

    Parameters

    • worklogs: unknown
    • fieldParams: unknown

    Returns Promise<unknown[]>

    Example

    SR.worklog.filterWorklogs(worklogs, { period: { start: new Date('2021-01-01'), end: new Date('2021-01-31')} })
    // expected result: worklogs which are included in the specified period of time