vViktorPL / elm-jira-connector / Jira.Api.Extra

This module provides some extra helpers for Jira Api calls

Api calls

getIssueNames : Jira.Api.Cred -> Jira.Pagination.PageRequest -> Jira.JqlInternal.Jql -> Jira.Api.ApiTask (Jira.Pagination.Page ( String, String ))

Search for issues using Jql but fetch human readable names together with their ids like:

("[EXA-1] Some issue", "10000")
("[EXA-2] Another one", "10001")

It may be useful in case you want represent a list of issues as a drop down list.

Data decoding

Some data cannot be extracted directly as it may be missing depending on fields that have been listed in the request. For such case, you have to use Issue decoding functions.

decodeIssueSummary : Jira.Api.Issue -> Result Json.Decode.Error String

Decode issue summary