public class AddTicketTemplate extends hudson.model.AbstractDescribableImpl<AddTicketTemplate>
| Modifier and Type | Class and Description |
|---|---|
static class |
AddTicketTemplate.DescriptorImpl
Descriptor class.
|
| Constructor and Description |
|---|
AddTicketTemplate(boolean performDuplicateCheck,
String parentJQL,
String title,
String type,
String priority,
String description,
String envVarName,
List<AddTicketField> fieldValues)
Databound constructor, called by jenkins.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getEnvVarName() |
List<AddTicketField> |
getFieldValues() |
String |
getParentJQL() |
boolean |
getPerformDuplicateCheck() |
String |
getPriority() |
String |
getTitle() |
String |
getType() |
void |
publishTicket(JIRAAccessTool jira,
org.apache.commons.lang.text.StrSubstitutor varReplacer,
PrintStream logger,
hudson.EnvVars vars)
Publishes this TIcket on JIRA, if it does not yet exist.
|
@DataBoundConstructor
public AddTicketTemplate(boolean performDuplicateCheck,
String parentJQL,
String title,
String type,
String priority,
String description,
String envVarName,
List<AddTicketField> fieldValues)
performDuplicateCheck - value of performDuplicateCheckparentJQL - the jql fitler selecting the parenttitle - the titletype - the typeaffectedVersion - the affected versionpriority - the prioritydescription - the descriptionpublic String getTitle()
public String getType()
public String getPriority()
public String getDescription()
public boolean getPerformDuplicateCheck()
public String getParentJQL()
public String getEnvVarName()
public List<AddTicketField> getFieldValues()
public void publishTicket(JIRAAccessTool jira, org.apache.commons.lang.text.StrSubstitutor varReplacer, PrintStream logger, hudson.EnvVars vars)
jira - the tool to access jiravarReplacer - the variables to be replacedlogger - log printstreamCopyright © 2004-2018. All Rights Reserved.