Codota Logo
IssueRestClient.getCreateIssueMetadata
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
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

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • JTable (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now