Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Power Scripts for Jira Cloud
Results will update as you type.
  • Get started
  • Configuration guides
  • Integration guides
  • Feature guides
  • Advanced features
  • Migration resources
  • Simple Issue Language
    • Getting started with SIL
    • SIL reference guide
    • SIL Functions library
      • Function Index
      • Packages
      • Array Functions
      • Basic Functions
      • Date and Interval Functions
      • Excel Functions
      • File Manipulation Functions
      • HTTP Functions
      • Incoming Mail Processing Functions
      • Integration with Other Systems
      • Jira Administration Functions
        • Custom Field Administration Functions
          • admAddCustomFieldAlias
          • admAddCustomFieldOptions
          • admCreateCustomField
          • admDeleteCustomField
          • admDeleteCustomFieldOptions
          • admGetCustomFieldOptions
          • admReloadCustomFieldAliases
          • admUpdateCustomField
          • admUpdateCustomFieldOptions
          • getContextsForCustomField
          • getIssueTypesInCustomFieldContext
          • getProjectsInCustomFieldContext
          • getIssueTypesInTheSameContext
        • Dashboard Functions
        • Field Configuration Functions
        • Filter Administration Functions
        • Group Administration Functions
        • Issue Administration Functions
        • Issue Type & IT Screen Scheme Administration Functions
        • Notification Administration Functions
        • Permissions Administration Functions
        • Priority Scheme Administration Functions
        • Project Administration Functions
        • Screen and Screen Schemes Administration Functions
        • System Administration Functions
        • User Administration Functions
      • Jira Integration Functions
      • Jira Service Management Functions
      • Jira Software Functions
      • Listener Functions
      • Math Functions
      • Parameter Functions
      • Scheduling Functions
      • String Functions
      • System Integration
      • Webhooks Functions
  • Tutorials and recipes
  • Jira Product Discovery support
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Custom Field Administration Functions
    Updated Aug 11

    Custom Field Administration Functions

    This section contains functions that enable users to handle custom field administration.

    Functions Summary

    • admAddCustomFieldAlias — Adds a custom field alias in the sil.aliases file.
    • admAddCustomFieldOptions — Adds new custom field options to options list for the specified context (JProjectIssueTypes[]).
    • admCreateCustomField — Creates a new custom field, offering support also for setting its context and searcher.
    • admDeleteCustomField — Deletes a custom field.
    • admDeleteCustomFieldOptions — Delete options with the provided ids from the custom field.
    • admGetCustomFieldOptions — Retrieves the option list of a custom field.
    • admReloadCustomFieldAliases — Reloads the sil.aliases file.
    • admUpdateCustomField — Updates a custom field, the searcher can also be updated
    • admUpdateCustomFieldOptions — Update custom field options for the specified context (JProjectIssueTypes[]).
    • getContextsForCustomField — Returns the list of contexts (their names) for a certain custom field
    • getIssueTypesInCustomFieldContext — Returns the list of issue types names for a certain custom field context. Note that if the routine does not return anything then all the issue types are set. You can use the allProjects and getissueTypesForProject routine to determine the full list of issue types.
    • getProjectsInCustomFieldContext — Returns the list of project keys for a certain custom field context. Note that if the routine does not return anything then the context is global. You can use the allProjects routine to get all the projects.
    • getIssueTypesInTheSameContext — Returns the list of issue type names that are included in the same context as the given issue for a certain custom field. Note that if the routine does not return anything then all the issue types are set. You can use the allProjects and getissueTypesForProject routine to determine the full list of issue types.",
    Peacock

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 18, "requestCorrelationId": "af83fc827105414b97c84acb97a31b18"}