projectIDFromKey(projectKeys) #Output: Text
projectIDFromKey("DEMO")
This example returns a text representing the internal ID of the project with the key "DEMO", e.g.:
10001
projectIDFromKey(%{issue.project.key})
This example returns the internal ID of the current issue's project, e.g.:
10005
projectIDFromKey(toString(distinct(fieldValue(%{issue.project.key}, linkedIssues()))))
This example returns a all internal IDs of projects from linked issues, e.g.:
10000, 10003
Steps in this example:
Parameters used in this function
projectKeys
This function returns a
new Project("SGC").id
Returns the internal ID for given project keys.