Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This is the documentation of JSU for Jira Server. If you are using JSU on Jira Cloud, you can find the documentation here. |
We built a JQL Condition, JQL Precondition and integrated JQL in many Workflow Post-Functions, allowing advanced administrators to set wider parameters that may now be fully customized.
Bellow you find several examples which demonstrate how flexible and powerful JQL can be used with JSU.
See also JQL Reference which gives you all the details how to use JQL with JSU.
JQL Conditions
Code Block | ||
---|---|---|
| ||
Sprint in openSprints() AND key = {issue.key} |
...
For example you might create the "Testing Sub-Task" with the Create a Linked Issue post function, but only if it does not yet exist:
JQL in Post Functions
In several post functions of JSU, you can specify a JQL query to retrieve the issues, which will be modified by the post function. See also Related Issues .
Update Description of a particular sibling Issue
Transition: Resolve in "Testing Sub-Task" Workflow
Code Block | ||
---|---|---|
| ||
* Issues related as: JQL ' parent = {issue.parent} and component = Documentation '
* Field: Description
* Value: Please also describe in the documentation what had been covered with the tests.
* Append: yes |
Copy Fields from Template Issue
Let's say we have an issue XY-23, which we are using as a 'template'. It is hidden in a project, which normal users cannot see (only Jira admins) and has pre-configured values on several fields.
Code Block | ||
---|---|---|
| ||
* Issues related as: Source by JQL ' issuekey = XY-23 '
* Copy: Description TO Description
* Copy: Component TO Component
* Copy: Labels TO Labels
* Copy: Assignee TO Assignee |