Summary
Below are some example Velocity Scripts that can be used when setting a Dynamic Custom Field Default.
Variable | Description |
---|---|
issue | If the email being processed has been associated with an existing issue, this contains the issue data. Format is as per the Get Issue response from the Jira REST API. |
message.getSubject() | Represents the value of the subject header of the email that is being processed. |
message.getBody() | Represents the value of the resolved body content of the email that is being processed. |
Getting the issue ID
issue.id