Properties
atlaskit
atlaskit: SrAtlaskit
checkIsSameUser
checkIsSameUser: ((user1, user2) => boolean)
Type declaration
- (user1, user2): boolean
Returns boolean
convertSecondsToJiraTime
convertSecondsToJiraTime: ((seconds, unit, isWithDimension?) => Promise<string>)
Type declaration
- (seconds, unit, isWithDimension?): Promise<string>
Parameters
- seconds: number
- unit: "days" | "hours" | "minutes" | "prettyPrint"
- isWithDimension: boolean = true
Returns Promise<string>
dateIsAfterToday
dateIsAfterToday: ((date) => boolean)
Type declaration
- (date): boolean
Returns boolean
dateIsBeforeToday
dateIsBeforeToday: ((date) => boolean)
Type declaration
- (date): boolean
Returns boolean
dateIsToday
dateIsToday: ((date) => boolean)
Type declaration
- (date): boolean
Returns boolean
getAllFieldsValues
getAllFieldsValues: (<T>() => Promise<T[]>) Type declaration
- <T>(): Promise<T[]>
Returns Promise<T[]>
getAppInnerHeight
getAppInnerHeight: (() => Promise<number>)
Type declaration
- (): Promise<number>
Returns Promise<number>
getCommentsByIssue
getCommentsByIssue: ((issueIdOrKey) => Promise<any[]>)
getCommentsByJQL
getCommentsByJQL: ((jql) => Promise<any[]>)
getCurrentUser
getCurrentUser: (() => Promise<unknown>)
Type declaration
- (): Promise<unknown>
Returns Promise<unknown>
getDataByFieldName
getDataByFieldName: (<T>(name) => Promise<T>) Type declaration
- <T>(name): Promise<T>
Returns Promise<T>
getFieldValue
getFieldValue: (<T>(type,
value) => Promise<T | T[]>) Type declaration
- <T>(type, value): Promise<T | T[]>
Parameters
- type: FieldTypes
- value: any
Returns Promise<T | T[]>
getHostBaseUrl
getHostBaseUrl: (() => Promise<string>)
Type declaration
- (): Promise<string>
Returns Promise<string>
getIssuesByJQL
getIssuesByJQL: ((jql,
fields?,
expand?) => Promise<JiraIssue[]>) Type declaration
- (jql, fields?, expand?): Promise<JiraIssue[]>
Parameters
- jql: string
Optional
fields: stringOptional
expand: string
Returns Promise<JiraIssue[]>
getIssuesCountByJQL
getIssuesCountByJQL: ((jql) => Promise<number>)
Type declaration
- (jql): Promise<number>
Returns Promise<number>
getJiraImage
getJiraImage: ((url) => Promise<any>)
Type declaration
- (url): Promise<any>
Returns Promise<any>
getReport
getReport: (() => Promise<unknown>)
Type declaration
- (): Promise<unknown>
Returns Promise<unknown>
getValueByFieldName
getValueByFieldName: (<T>(name) => Promise<T>) Type declaration
- <T>(name): Promise<T>
Returns Promise<T>
Readonly
isCloud
isCloud: boolean
Readonly
version
version: string
Deprecated
use jira.checkIsSameUser instead