private String buildCreateJiraIssueUrl()
{
if (jiraConfig == null || jiraConfig.getCreateIssueUrl() == null) {
return "JIRA not configured.";
}
final JiraProject jiraProject = jiraProjectChoice.getCurrentFavorite();
return jiraConfig.getCreateIssueUrl()
+ "?pid="
+ (jiraProject != null ? jiraProject.getPid() : null)
+ "&issuetype="
+ (jiraIssueType != null ? jiraIssueType : 3)
+ "&priority=4&reporter="
+ URLHelper.encode(getUser().getJiraUsernameOrUsername())
+ "&description="