Function IssuesApiFp

IssuesApi - functional programming interface

  • Parameters

    Returns {
        issuesCreate(
            issueWriteRequest: IssueWriteRequest,
            xOrganization?: string,
            org?: string,
            orgId?: number,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<IssueRead>,
        >;
        issuesDestroy(
            id: number,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        issuesList(
            xOrganization?: string,
            assignee?: string,
            filter?: string,
            frameId?: number,
            jobId?: number,
            org?: string,
            orgId?: number,
            owner?: string,
            page?: number,
            pageSize?: number,
            resolved?: boolean,
            search?: string,
            sort?: string,
            taskId?: number,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<PaginatedIssueReadList>,
        >;
        issuesPartialUpdate(
            id: number,
            patchedIssueWriteRequest?: PatchedIssueWriteRequest,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<IssueRead>,
        >;
        issuesRetrieve(
            id: number,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<IssueRead>,
        >;
    }

    • issuesCreate:function
      • Parameters

        • issueWriteRequest: IssueWriteRequest
        • OptionalxOrganization: string

          Organization unique slug

        • Optionalorg: string

          Organization unique slug

        • OptionalorgId: number

          Organization identifier

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IssueRead>>

    • issuesDestroy:function
      • Parameters

        • id: number

          A unique integer value identifying this issue.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>

    • issuesList:function
      • Parameters

        • OptionalxOrganization: string

          Organization unique slug

        • Optionalassignee: string

          A simple equality filter for the assignee field

        • Optionalfilter: string

          JSON Logic filter. This filter can be used to perform complex filtering by grouping rules. For example, using such a filter you can get all resources created by you: - {&quot;and&quot;:[{&quot;==&quot;:[{&quot;var&quot;:&quot;owner&quot;},&quot;<user>&quot;]}]} Details about the syntax used can be found at the link: https://jsonlogic.com/ Available filter_fields: [&#39;owner&#39;, &#39;assignee&#39;, &#39;id&#39;, &#39;job_id&#39;, &#39;task_id&#39;, &#39;resolved&#39;, &#39;frame_id&#39;].

        • OptionalframeId: number

          A simple equality filter for the frame_id field

        • OptionaljobId: number

          A simple equality filter for the job_id field

        • Optionalorg: string

          Organization unique slug

        • OptionalorgId: number

          Organization identifier

        • Optionalowner: string

          A simple equality filter for the owner field

        • Optionalpage: number

          A page number within the paginated result set.

        • OptionalpageSize: number

          Number of results to return per page.

        • Optionalresolved: boolean

          A simple equality filter for the resolved field

        • Optionalsearch: string

          A search term. Available search_fields: (&#39;owner&#39;, &#39;assignee&#39;)

        • Optionalsort: string

          Which field to use when ordering the results. Available ordering_fields: [&#39;owner&#39;, &#39;assignee&#39;, &#39;id&#39;, &#39;job_id&#39;, &#39;task_id&#39;, &#39;resolved&#39;, &#39;frame_id&#39;]

        • OptionaltaskId: number

          A simple equality filter for the task_id field

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<PaginatedIssueReadList>,
        >

    • issuesPartialUpdate:function
      • Parameters

        • id: number

          A unique integer value identifying this issue.

        • OptionalpatchedIssueWriteRequest: PatchedIssueWriteRequest
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IssueRead>>

    • issuesRetrieve:function
      • Parameters

        • id: number

          A unique integer value identifying this issue.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IssueRead>>