Quick Installation

Get started with Jira (API Token) in Go in under a minute

Terminal
go get github.com/apideck-libraries/sdk-go
package main

import (
    "context"
    "fmt"
    "os"
    sdkgo "github.com/apideck-libraries/sdk-go"
    "github.com/apideck-libraries/sdk-go/models/operations"
)

func main() {
    ctx := context.Background()
    s := sdkgo.New(
        sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
        sdkgo.WithAppID("YOUR_APP_ID"),
        sdkgo.WithConsumerID("user-123"),
    )

    // Connect to Jira (API Token)
    _, err := s.Vault.Connections.List(ctx,
        sdkgo.Pointer("issue-tracking"),
        sdkgo.Pointer(true),
    )

    // List data from Jira (API Token)
    contacts, err := s.Issue-tracking.Contacts.List(ctx, operations.Issue-trackingContactsAllRequest{
        ServiceID: sdkgo.Pointer("jira-api-token"),
    })

    if err != nil {
        panic(err)
    }

    fmt.Printf("%+v\n", contacts)
}

Why use the Go SDK?

Type Safety

Full type definitions for Go. Catch errors at compile time, not runtime.

Auto-generated

SDK is auto-generated from our OpenAPI spec, always up-to-date with the latest API.

Error Handling

Built-in error types and retry logic. Handle rate limits and errors gracefully.

Pagination

Automatic pagination handling. Iterate through large datasets effortlessly.

Authentication

OAuth, API keys, and consumer tokens handled automatically.

Documentation

Comprehensive docs with examples for every endpoint and method.

Jira (API Token) available in all SDKs

Choose your preferred language

API Resources

Jira (API Token) resources available

All these Jira (API Token) endpoints are accessible via the Go SDK

Launch accounting integrations in weeks, not months

Get started for free