Operations using direct HTML links
It probably make 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 pre-processing, validations, and so on, in place 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 arguments 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 in detail.
How to do it...
Let...