@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
22 lines (21 loc) • 945 B
text/typescript
/**
* An icon. If no icon is defined:
*
* - For a status icon, no status icon displays in Jira.
* - For the remote object icon, the default link icon displays in Jira.
*/
export interface Icon {
/** The URL of the tooltip, used only for a status icon. If not set, the status icon in Jira is not clickable. */
link?: string;
/**
* The title of the icon. This is used as follows:
*
* For a status icon it is used as a tooltip on the icon. If not set, the status icon doesn't display a tooltip in
* Jira. For the remote object icon it is used in conjunction with the application name to display a tooltip for the
* link's icon. The tooltip takes the format "[application name] icon title". Blank itemsare excluded from the tooltip
* title. If both items are blank, the icon tooltop displays as "Web Link".
*/
title?: string;
/** The URL of an icon that displays at 16x16 pixel in Jira. */
url16x16?: string;
}