Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns a text with the project key from the specified project.


Code Block
languagebash
titleSyntax
linenumberstrue
projectKey(projectName) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
projectKey("Jira Workflow Toolbox")


This example might return:

"JWT", which is the project key of a project called "Jira Workflow Toolbox"



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
projectName

Status
subtletrue
titleText

Text, containing a valid project name.



UI Expand
titleOutput
Page properties
hiddentrue
Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
Short description

Returns a text with the project key from the project with the project_name.

Output

This function returns a

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title2.4.9



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_projectkey" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
NotesNot possible to find projects by their name, only by their ID and their key.




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns the project key from a given project.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title2.4.9

Label
UI Text Box
sizemedium
typeinfo

This function returns a text with the project key from the project with the project_name.

Code Block
languagebash
titleSyntax
linenumberstrue
projectKey(text project_key) #Output: Text

Parameters used in this function

text
UI Expand
titleExamples
UI Expand
titleAdditional information
ParameterInput (data type)Description
xxx
Status
subtletrue
titledata type
Parameter description.
UI Expand
titleOutput
This function returns a
Status
subtletrue
title