Operations using direct HTML links
It probably makes sense to wind up this book by giving a little tip on how we can do powerful operations in JIRA by a simple click on a link, either from your e-mail or a from a web form or from within JIRA itself!
Almost all the actions can be encoded into a single URL provided we have the right parameters to invoke those actions. Make no mistake; it has its own disadvantages because it will override all the preprocessing, validations, and so on in some cases.
The URL that performs the action is constructed in the following manner:
${baseUrl}/secure/${action}?${arguments}
Where baseUrl
is the JIRA base URL, action
is the webwork action to be executed, and arguments
is the URL-encoded argument needed for the action. The arguments are constructed as key-value pairs separated by &
. Each key-value pair will be of the form key=value
and must comply with HTML link syntax—that is, all characters must be escaped. Let us see this in detail.
How to do it...
Let us...