Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getInput(customfield_id)

Package

Alias

getInput(keyword)

Pkg Usage

Warning
The routine handles transient values, therefore it will work correctly only if an interval is called starting from the moment the user clicks the the Submit button button on the transition screen up to the point when the issue is saved in the database. Therefore we can define the valid scope for the routine to be be validators and and certain post post-functions. It It means that you will not be able to use it in in conditions,   SIL services,  SIL listeners nor nor from the the SIL Gadget.

When used in post -functions this routine works in SIL post functions that run run before  the the routines that save the issue in the database. The latter are default Jira post -functions that can be easily recognized by their name, for instance "Update change history for an issue and store the issue in the database ", for a regular transition "Creates the issue originally ", for the "Create Issue " transition, and so on.

Description

Excerpt
hiddentrue
Make sure that a transition screen has been attached to the current transition.

Make sure that a transition screen has been attached to the current transition.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

customfield_id/keyword

String

Yes

Id of the custom field (customfield_id) or the specific keyword for the standard fields.

Return Type

String

The value of the field in the transition screen.

...

Returns the value the Comment field has set.

Note

Custom fields must be referenced by id (customfield_id), while standard fields can be specified by one of the following keywords: summary, timetracking, security, attachment, reporter, environment, description, duedate. You can also check the Comment field, using the keyword comment.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "customfield_routine" and space = currentSpace ( )
labelsarray_routines