...
You need Jira Server 8.0+ (Data Center version to come soon),
Create a custom field for requirements, Enable in our example we will name the custom field: "RYLinks”
Edit the custom field and enable the "search template" on this field, named "Searcher for RY Links",
You might need to perform a re-index action so the search syntax can work properly. A popup will usually appear but you can go into System Administration → Advanced → Index, and make sure to tick “Full re-index"
You can now use the search syntax below.
Example | Intent |
---|---|
customfield RYLinks in requirementYogiKeys('REQ-001') | All custom fields which contain the requirement REQ-001. |
customfield RYLinks in requirementYogiKeys('REQ-%') | All custom fields which contain one of the REQ-... requirements. |
customfield RYLinks in requirementYogiKeys('REQ-001', 3) | Requirement REQ-001, in baseline 3 |
customfield RYLinks in requirementYogiKeys('REQ-001', "CURRENT") | Requirement REQ-001, in current version. |
customfield RYLinks in ('REQ-001', 'REQ-002') | A list of requirements (no baseline possible) |
...