Skip to end of banner
Go to start of banner

Predefined Structure Types

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 35 Current »

Here is a list of predefined structures that are used throughout SIL™, usually with specific routines. Not enough for you? You can also define custom structures. Check our example in the Syntax section and roll your own.

Note that the structure fields can be modified, but the changes are not saved in the database. If you change a field for a project version variable, the project version will not be affected. Simply put, the structures are 'detached'.

Standard Types

Name

Routine Usage

Field

Type

HttpCookie

name

string

value

string

HttpHeader

key

string

value

string

HttpProxy

host

string

port

number

HttpQueryParam

name

string

value

string

HttpRequest

headers

HttpHeader []

cookies

HttpCookie []

parameters

HttpQueryParam []

HttpResponseInfo

class

string

statusCode

integer

errorMessage

string

reasonPhrase

string

IncomingEmail

from

string []

to

string []

cc

string []

subject

string

body

string

attachments

string []

JApproval

issueId

integer

name

string

decision

string

createdDate

date

completedDate

date

statusId

string

approvers

string[]

JBoard

id

integer

name

string

type

string

swimlaneName

string

epicsPanel

string

cardColor

string

issueCutOff

string

savedFilterId

integer

showDaysInColumn

boolean

isSprintSupportEnabled

boolean

JComment

id

string

text

string

author

string

created

date

updatedBy

string

updated

date

securityLevel

string

JComponent

id

number

name

string

description

string

lead

string

defaultAssignee

number

archived

boolean

JCustomField

id

number

name

string

description

string

type

string

JEmailAttachment

file

string

name

string

mimeType

string

JEmailMessage

to

string []

cc

string []

bcc

string []

subject

string

message

string

from

string

attachments

JEmailAttachment []

JFieldChange

user

string

changeDate

date

field

string

oldVal

string

newVal

string

oldValString

string

newValString

string

JFieldValue

fieldName

string

values

string []

JFilter

id

number

name

string

description

string

owner

string

query

string

JGeneric

name

string

value

string

JIssueLink

id

number

name

string

direction

number

description

string

issue

string

JLdapUserAttribute

name

string

value

string []

JLdapUserStruct

DN

string

attributes

JLdapUserAttribute []

JLogin

loginCount

number

lastLogin

date

failedLoginCount

number

lastFailedLogin

date

JMoveIssueParams

issueToBeMoved

string

targetProject

string

targetIssueTypeId

string

targetIssueStatusId

string

targetSubtaskIssueTypeId

string

JProject

id

number

key

string

name

string

description

string

lead

string

url

string

unassignedByDefault

boolean

avatarId

number

category

string

project type

string

JRequestType

id

integer

portalId

number

issueTypeId

number

iconId

number

name

string

description

string

helpText

string

JScreenField

fieldId

string

fieldName

string

fieldPosition

number

tabName

string

tabPosition

number

JServerInfo

os

string

osVersion

string

osArch

string

javaHome

string

processors

integer

freeMemory

string

maxMemory

string

totalMemory

string

userName

string

userDir

string

userHome

string

rootInfo

string

JSlaCompletedCycle

startTime

date

stopTime

date

breached

boolean

goalDuration

number

elepsedTime

number

remainingTime

number

JSlaInformation

name

string

completedCycles

JSlaCompletedCycle

ongoingCycle

JSlaOngoingCycle

JSlaOngoingCycle

startTime

date

breachedTime

date

breached

boolean

paused

boolean

withinCalendarHours

boolean

goalDuration

number

elepsedTime

number

remainingTime

number

JSprint

id

integer

name

string

startDate

date

endDate

date

completeDate

date

goal

string

state

string

boardId

integer

JUser

key

string

username

string

displayname

string

email

string

active

boolean

JVersion

id

number

name

string

description

string

projectKey

string

startDate

date

releaseDate

date

archived

boolean

released

boolean

JWorkflow

id

string

name

string

mode

string

type

string

assocIssueType

string

active

boolean

statuses

string []

transitions

string []

JWorkflowAction

name

string

fromStatus

string

conditions

string []

validators

string []

postFunctions

string []

JWorklog

id

number

author

string

startDate

date

timeSpent

interval

comment

string

issue

string

WebhookParam

name

string

values

string []

WebhookPayload

queryParams

WebhookParam []

httpMethod

string

payload

string

Insight Types

Here is a list of predefined structures that are used throughout Power Scripts with specific routines for Insight.

Name

Field

Type

Notes

IReferenceType

id

integer

name

string

description

string

color

string

objectSchemaId

integer

removable

boolean

IObjectType

id

integer

name

string

created

date

updated

date

description

string

position

integer

objectSchemaId

integer

parentObjectTypeId

integer

abstractObjectType

boolean

IObjectAttrType

id

integer

name

string

created

date

updated

date

description

string

position

integer

minCardinality

integer

maxCardinality

integer

objectTypeId

integer

iql

string

suffix

string

regex

string

typeValue

string

additionalValue

string

options

string

multiTypeValues

string[]

typeId

integer

defaultTypeId

integer

refObjectTypeId

integer

refObjectType 

IReferenceType

IObject

id

integer

key

string

created

date

updated

date

label

string

objectTypeId

integer

objectAttributes

IObjectAttr[]

Array of IObjectAttr types

IObjectAttr

id

integer

objectId

integer

objectAttrTypeId

integer

objectAttrValues

IObjectAttrValue[]

Array of IObjectAttrValue types

IObjectAttrValue

id

integer

textVal

string

boolVal

boolean

dateVal

date

intVal

integer

dblVal

number

additionalVal

string

invalidVal

string

refObjectId

integer

Jira Service Desk Types

Here is a list of predefined structures that are used throughout Power Scripts with specific routines for Jira Service Management.

Name

Routine Usage

Field

Type

JApproval





issueId

integer

name

string

decision

string

createdDate

date

completedDate

date

statusId

string

approvers

string[]

JRequestType







id

integer

portalId

number

issueTypeId

number

iconId

number

name

string

description

string

helpText

string

JSlaInformation



name

string

completedCycles

JSlaCompletedCycle

ongoingCycle

JSlaOngoingCycle

JSlaCompletedCycle






startTime

date

stopTime

date

breached

boolean

goalDuration

number

elepsedTime

number

remainingTime

number

JSlaOngoingCycle








startTime

date

breachedTime

date

breached

boolean

paused

boolean

withinCalendarHours

boolean

goalDuration

number

elepsedTime

number

remainingTime

number

Jira Software Types


Here is a list of predefined structures that are used throughout Power Scripts (usually with specific routines). And you can also define custom structures. Check our example in the /wiki/spaces/DEVPSJC/pages/485919981 section and roll your own.

Note that the structure fields can be modified, but the changes are not saved in the database. If you change a field for a sprint variable, the sprint will not be affected. Simply put, the structures are 'detached'.

Name

Routine Usage

Field

Type

JSprint

id

integer

name

string

startDate

date

endDate

date

completeDate

date

goal

string

state

string

boardId

integer

JBoard


id

integer

name

string

type

string

swimlaneName

string

epicsPanel

string

cardColor

string

issueCutOff

string

savedFilterId

integer

showDaysInColumn

boolean

isSprintSupportEnabled

boolean

Tempo Types

Here is a list of predefined structures that are used throughout SIL™, usually with specific routines. Not enough for you? You can also define custom structures. Check our example in the Syntax section and roll your own.

Note that the structure fields can be modified, but the changes are not saved in the database. If you change a field for a project version variable, the project version will not be affected. Simply put, the structures are 'detached'.

Name

Field

Type

Notes

TempoAccount

id

integer

key

string

name

string

lead

string

User (lead)

contact

string

Any contact for the customer set into the account

status

string

One of: OPEN, CLOSED, ARCHIVED

customer_id

integer

customer_key

string

customer_name

string

category_id

integer

category_key

string

category_name

string

monthly_budget

number

global

boolean

billable

boolean

TempoAllocation

id

integer

parentId

integer

Allocations are hierachical

scopeId

integer

scopeType

string

list of values: "account", "board", "project", "team", "folio", "none"

planItemId

integer

planItemType

string

list of values: "component", "epic", "issue", "project", "sprint", "version"

assignee

string


assigneeType

string

list of values: "team", "user"

commitment

number

description

string

workPerDay

number

number of hours

includeNonWorkingDays

boolean

startDate

date

endDate

date

createdBy

string

User who created it

created

date

updatedBy

string

updated

date

recurring

boolean

recurrenceRule

string

list of values: "NEVER", "WEEKLY", "BI-WEEKLY", "MONTHLY"

recurrenceEnds

date

planApprovalId

number

planApprovalReviewer

string

TempoTeam

id

integer

name

string

mission

string

summary

string

lead

string

User (lead)

program_id

integer

program_name

string

program_manager

string

User, the Program Manager for the team


Content

  • No labels