Page History
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
What are JWT project properties?
UI Text Box | ||||
---|---|---|---|---|
| ||||
Project Properties is a simple mechanism implemented by Jira Workflow Toolbox, to include machine-readable JWT project properties are key-value pairs into projects description, using the format {property=value}, thereby operating as an effective way for adding metadata to your Jira projects. | ||||
UI Expand | ||||
| ||||
added to a project description. The main goal of the properties is to provide project metadata, which can be referenced and used in multiple features of JWT. The main use cases are: |
Format of JWT project properties
A JWT project property can be added to any project description in the following format:
{propertyKey=propertyValue}
The screenshot shows an example with 5 JWT project properties:
Property key | Property value | Potential use case |
---|---|---|
codeReview | compulsory | Could be used to enforce certain parts of the workflow related to code reviews using Condition on JWT project property or Validation of JWT project property. |
maxResponseTime |
30 | Could be used to set individual SLA times per project. These could be used in combination with JWT JQL functions to set up filter subscription or to automatically update an issue priority using an Update field action. | |
technology | java | Could be used in many JWT functions or parser expressions using the Advanced text mode. |
database | oracle | Could be used in many JWT functions or parser expressions using the Advanced text mode. |
stageURL | https://stage/myapp | Could be used in many JWT functions or parser expressions using the Advanced text mode. |
Main use cases
Customizing workflow behavior depending on projects
Info | ||
---|---|---|
| ||
Project properties are were initially aimed to customize at customizing your workflow behavior depending on project features (metadata added to projects in the form of project properties), this way highly improving workflow reusability. For example you can use project properties to:
|
Workflow features based on JWT project properties
Info | ||
---|---|---|
| ||
Conditions and Validators:
Post functions
Logical expressionsJWT project properties can be referenced and validated when writing a logical expression in the Logical mode (e.g in the conditional execution parameter of post functions). |
Enhancing JQL search capability by project attributes
Info | ||
---|---|---|
| ||
You can ask for the value of project properties in your JQL queries, by using 3 JQL functions provided by Jira Workflow Toolbox:
You can use it, among other things, to extend the Jira native Project Category concept, by creating several project classifications by using Project Properties. |
Setting default assignee for a project role
Info | ||
---|---|---|
| ||
One of the two ways available in post-function "Assign to project role" for setting default assignee for a project role uses Project Properties with a certain format. |
Available functions
Page properties report | ||||||||
---|---|---|---|---|---|---|---|---|
|
Example
Info | ||
---|---|---|
| ||
Setting user "feynman" as default assignee for project role "Developers", with internal identifier 10100. As you can be seen in the picture, you can use the name of the project role, or the internal identifier as the project property name. The second option has the de advantage that it's immune to project role renaming. |
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|