congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CustomFieldParams.put
Code IndexAdd Tabnine to your IDE (free)

How to use
put
method
in
com.atlassian.jira.issue.customfields.view.CustomFieldParams

Best Java code snippets using com.atlassian.jira.issue.customfields.view.CustomFieldParams.put (Showing top 3 results out of 315)

origin: com.atlassian.jira/jira-core

private CustomFieldParams handleInvalidFunctionOperand(final TerminalClause clause)
{
  CustomFieldParams customFieldParams = null;
  FunctionOperand fop = (FunctionOperand)clause.getOperand();
  if (fop.getName().equals(CascadeOptionFunction.FUNCTION_CASCADE_OPTION))
  {
    if (fop.getArgs().size() == 2)
    {
      customFieldParams = new CustomFieldParamsImpl(customField);
      customFieldParams.put(CascadingSelectCFType.PARENT_KEY, Collections.singleton(fop.getArgs().get(0)));
      customFieldParams.put(CascadingSelectCFType.CHILD_KEY, Collections.singleton(fop.getArgs().get(1)));
    }
    else if (fop.getArgs().size() == 1)
    {
      customFieldParams = new CustomFieldParamsImpl(customField);
      customFieldParams.put(CascadingSelectCFType.PARENT_KEY, Collections.singleton(fop.getArgs().get(0)));
    }
    if (customFieldParams != null) {
      String parentValue = (String) customFieldParams.getFirstValueForKey(CascadingSelectCFType.PARENT_KEY);
      final List<Option> options = jqlSelectOptionsUtil.getOptions(customField, new QueryLiteral(clause.getOperand(), parentValue), true);
      if (options.isEmpty() || options.get(0) == null)
      {
        return null;
      }
    }
  }
  return customFieldParams;
}
origin: com.atlassian.jira/jira-core

  params.put(getParamKeyIssueId(), ImmutableList.of(issue.getId().toString()));
  params.put(getParamKeyProjectId(), ImmutableList.of(issue.getProjectId().toString()));
params.put(CustomFieldUtils.getParamKeyRequireProjectIds(), ImmutableList.of(Boolean.TRUE.toString()));
origin: com.atlassian.jira/jira-core

customFieldParams.put(CascadingSelectCFType.PARENT_KEY, Collections.singleton(literal.asString()));
  customFieldParams.put(CascadingSelectCFType.PARENT_KEY, Collections.singleton(parentOption.getOptionId().toString()));
  customFieldParams.put(CascadingSelectCFType.CHILD_KEY, Collections.singleton(option.getOptionId().toString()));
  customFieldParams.put(CascadingSelectCFType.PARENT_KEY, Collections.singleton(option.getOptionId().toString()));
com.atlassian.jira.issue.customfields.viewCustomFieldParamsput

Popular methods of CustomFieldParams

  • getValuesForKey
  • isEmpty
  • containsKey
  • getCustomField
  • getFirstValueForKey
  • getFirstValueForNullKey
  • getKeysAndValues
  • getValuesForNullKey
  • getAllValues
  • setCustomField
  • transformObjectsToStrings
  • transformObjectsToStrings

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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