Tabnine Logo
IssueRestClient.getCreateIssueMetadata
Code IndexAdd Tabnine to your IDE (free)

How to use
getCreateIssueMetadata
method
in
com.atlassian.jira.rest.client.api.IssueRestClient

Best Java code snippets using com.atlassian.jira.rest.client.api.IssueRestClient.getCreateIssueMetadata (Showing top 4 results out of 315)

origin: OpenNMS/opennms

/**
 * Does the same as {@link #getIssueMetaData(JiraRestClient, String, String, String)} but filters by issueTypeId instead of issueTypeName.
 *
 * @see #getIssueMetaData(JiraRestClient, String, String, String)
 */
public static List<CimProject> getIssueMetaData(JiraRestClient client, String expandos, Long issueTypeId, String projectKey) throws ExecutionException, InterruptedException {
  return Lists.newArrayList(client.getIssueClient().getCreateIssueMetadata(
      new GetCreateIssueMetadataOptions(
          expandos == null ? null : Lists.newArrayList(expandos),
          null, // no issue type names
          issueTypeId == null ? null : Lists.newArrayList(issueTypeId),
          projectKey == null ? null : Lists.newArrayList(projectKey),
          null)) // no project ids
      .get());
}
origin: org.opennms.features/jira-troubleticketer

/**
 * Does the same as {@link #getIssueMetaData(JiraRestClient, String, String, String)} but filters by issueTypeId instead of issueTypeName.
 *
 * @see #getIssueMetaData(JiraRestClient, String, String, String)
 */
public static List<CimProject> getIssueMetaData(JiraRestClient client, String expandos, Long issueTypeId, String projectKey) throws ExecutionException, InterruptedException {
  return Lists.newArrayList(client.getIssueClient().getCreateIssueMetadata(
      new GetCreateIssueMetadataOptions(
          expandos == null ? null : Lists.newArrayList(expandos),
          null, // no issue type names
          issueTypeId == null ? null : Lists.newArrayList(issueTypeId),
          projectKey == null ? null : Lists.newArrayList(projectKey),
          null)) // no project ids
      .get());
}
origin: OpenNMS/opennms

/**
 * Convenient method to get the meta data to create issues.
 * It allows queriing by issueTypeName and projectKey.
 *
 * @param client the {@link JiraRestClient} to make the ReST call.
 * @param expandos The expandos, to expand the json object if required
 * @param issueTypeName Filter by issue type name (e.g. Bug). May be null.
 * @param projectKey Filter by project key (e.g. DUM). May be null.
 * @return The issue meta data for the queried projects.
 * @throws ExecutionException
 * @throws InterruptedException
 */
public static List<CimProject> getIssueMetaData(JiraRestClient client, String expandos, String issueTypeName, String projectKey) throws ExecutionException, InterruptedException {
  return Lists.newArrayList(client.getIssueClient().getCreateIssueMetadata(
      new GetCreateIssueMetadataOptions(
          expandos == null ? null : Lists.newArrayList(expandos),
          issueTypeName == null ? null : Lists.newArrayList(issueTypeName),
          null, // no issue type ids
          projectKey == null ? null : Lists.newArrayList(projectKey),
          null)) // no project ids
      .get());
}
origin: org.opennms.features/jira-troubleticketer

/**
 * Convenient method to get the meta data to create issues.
 * It allows queriing by issueTypeName and projectKey.
 *
 * @param client the {@link JiraRestClient} to make the ReST call.
 * @param expandos The expandos, to expand the json object if required
 * @param issueTypeName Filter by issue type name (e.g. Bug). May be null.
 * @param projectKey Filter by project key (e.g. DUM). May be null.
 * @return The issue meta data for the queried projects.
 * @throws ExecutionException
 * @throws InterruptedException
 */
public static List<CimProject> getIssueMetaData(JiraRestClient client, String expandos, String issueTypeName, String projectKey) throws ExecutionException, InterruptedException {
  return Lists.newArrayList(client.getIssueClient().getCreateIssueMetadata(
      new GetCreateIssueMetadataOptions(
          expandos == null ? null : Lists.newArrayList(expandos),
          issueTypeName == null ? null : Lists.newArrayList(issueTypeName),
          null, // no issue type ids
          projectKey == null ? null : Lists.newArrayList(projectKey),
          null)) // no project ids
      .get());
}
com.atlassian.jira.rest.client.apiIssueRestClientgetCreateIssueMetadata

Javadoc

Retrieves CreateIssueMetadata with specified filters.

Popular methods of IssueRestClient

  • getIssue
    Retrieves issue with selected issue key, with specified additional expandos.
  • createIssue
    Creates new issue.
  • getTransitions
    Retrieves complete information (if the caller has permission) about transitions available for the se
  • transition
    Performs selected transition on selected issue.
  • addComment
    Adds a comment to JIRA (adding it to selected issue)
  • updateIssue
    Update an existing issue.
  • linkIssue
    Creates link between two issues and adds a comment (optional) to the source issues.

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getContentResolver (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now