Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns the name of the project with a given ID.


Code Block
languagebash
titleSyntax
linenumberstrue
project(id) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
%{project(10000)}


This example returns a text with the corresponding key of the project with the ID 10000

e.g. DEV



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
id

Status
subtletrue
titlenumber

A valid project ID.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext
.

If there is no project with the given ID, the function returns 

Status
subtletrue
titlenull
.


UI Text Box
typetip

Use this function to ensure expressions will continue to work after renaming resolutionsprojects:

Will continue to work after project name update (tick)Will fail after project name update (error)


Code Block
languagebash
linenumberstrue
%{issue.project.key} = project(10000)



Code Block
languagebash
linenumberstrue
%{issue.project.key} = "CRM"
Include PageDECADIS:Identify IDs with Admin Toolbox for JiraDECADIS:Identify IDs with Admin Toolbox for Jira





Use cases and examples

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

Page properties
hiddentrue
id1
Parser function cloudMap(question)Notes

Workaround

Code Block
languagebash
new Project

(

10000

)




Page properties
hiddentrue



Status
Tech review

Status
colourGreenYellow
titledoneReady for review

Style guide

Status
colourGreenYellow
titledoneReady for review

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



Page properties
hiddentrue


2.5.0
Short description

Returns the name of the project with a given ID.

Output

Status
subtletrue
titletext

Available since
Status
subtletrue
colourBlue
title


Label