Table of Contents

Overview

This document provides an overview of the GraphQL API for managing reminders within a issue or user. It includes the available queries and mutations, as well as the types used in the API.

Query

reminders

Retrieves reminders based on the provided parameters. If an issueId is specified, it returns reminders associated with that issue. Otherwise, it fetches reminders for the current user. The showArchived flag determines whether archived reminders should be included in the response. It’s default true.

Arguments:

Returns:

Example:

query {
  reminders(issueId: "10001") {
    id
    issueId
    private
    subject
    recipientGoogleChats
    message
    recipientUsers
    cancelWhenResolved
    recipientGroups
    recipientChannels
    addIssueComment
    ownerAccountId
    autoDelete
    period
    dateTimeOfReminder
    interval
    sentDateTime
    afterRelativeDate
    relativeDateInterval
    relativeDateFieldId
  }
}

Mutation

saveReminder

Saves a new reminder or updates an existing one.

Overview

The saveReminder mutation is used to create or update a reminder.

ID Generation Rules

 

If an ID is provided in the request, it must match one of these formats.


Validation Rules

The saveReminder mutation enforces strict validation rules:

Relative Date Mode

If any of the relative date fields are set, then:

Fixed Date Mode

If dateTimeOfReminder is provided, then:

Other Constraints


Arguments


Returns


Example Mutation

mutation {
  saveReminder(input: {
    id: "REMI-10001-f6468ded-cd8e-4a35-95da-43ec58efb4a8"
    issueId: "10001"
    private: false 
    subject: "Reminder Subject"
    message: "This is a reminder message" 
    recipientUsers: ["assignee"] 
    recipientGroups: ["group-456"]
    recipientChannels: ["channel-1"]
    recipientGoogleChats: ["googleChat-1"]
    cancelWhenResolved: true 
    autoDelete: true 
    addIssueComment: false 
    period: "Daily"
    interval: 1 
    dateTimeOfReminder: "2025-03-10T15:00:00+03:00" 
    afterRelativeDate: null 
    relativeDateInterval: null 
    relativeDateFieldId: null
  }) {
    id
    subject
  }
}

Types

Reminder

Represents a reminder within a project.

Fields:


InputReminder

Input type for saving or updating a reminder.

Fields: