Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/jira/src/agile/parameters/submitFeatureFlags.ts>SubmitFeatureFlags

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
interface SubmitFeatureFlags
import { type SubmitFeatureFlags } from "https://deno.land/x/jira@v3.0.2/src/agile/parameters/submitFeatureFlags.ts";

Properties

optional
properties: { }

Properties assigned to Feature Flag data that can then be used for delete / query operations.

Examples might be an account or user ID that can then be used to clean up data if an account is removed from the Provider system.

Note that these properties will never be returned with Feature Flag data. They are not intended for use as metadata to associate with a Feature Flag. Internally they are stored as a hash so that personal information etc. is never stored within Jira.

Properties are supplied as key/value pairs, a maximum of 5 properties can be supplied, and keys must not contain ':' or start with '_'.

optional
flags: { schemaVersion?: "1.0" | string; id: string; key: string; updateSequenceId: number; displayName?: string; issueKeys: string[]; summary: { url?: string; status: { enabled: boolean; defaultValue?: string; rollout?: { percentage?: number; text?: string; rules?: number; }; }; lastUpdated: string; }; details: { url: string; lastUpdated: string; environment: { name: string; type?:
| "development"
| "testing"
| "staging"
| "production"
| string
; }; status: { enabled: boolean; defaultValue?: string; rollout?: { percentage?: number; text?: string; rules?: number; }; }; }[]; }[]

A list of Feature Flags to submit to Jira.

Each Feature Flag may be associated with 1 or more Jira issue keys, and will be associated with any properties included in this request.

optional
providerMetadata: { product?: string; }

Information about the provider. This is useful for auditing, logging, debugging, and other internal uses. It is not considered private information. Hence, it may not contain personally identifiable information.