Skip to end of banner
Go to start of banner

admGetPrioritySchemeObject

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 4 Next »

We've encountered an issue exporting this macro. Please try exporting this page again later.

Description

Returns the priority scheme (as a JPriorityScheme structure) for the given project key.

Parameters

Return Type

JPriorityScheme

Returns the priority scheme name.

Examples

Example 1

Returns the priority scheme (full object) for project "TEST"

return admGetPrioritySchemeObject("TEST");

prioSchemeObjForProject = 10143|New priority scheme|new desc updated at 2024-08-06 13:47:05|Highest|Medium|Low|DEMO|ITSD|TEST

Example 2

Prints the priority scheme id and description for project "TEST"

JPriorityScheme prioSchemeObjForProject = admGetPrioritySchemeObject("TEST");
runnerLog("The description of priority with id " + prioSchemeObjForProject.id + " is " + prioSchemeObjForProject.description);

The description of priority with id 10143 is new desc updated at 2024-08-06 13:47:05

See also

  • No labels