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)

System Command Line Interface (CLI)
  • Reference
    Reference
     This trigger is hidden
  • User's Guide
    User's Guide
     This trigger is hidden
  • Administrator's Guide
    Administrator's Guide
     This trigger is hidden
  • Release notes
    Release notes
     This trigger is hidden
  • Share data with the Support team
    Share data with the Support team
     This trigger is hidden
  • Downloads
    Downloads
     This trigger is hidden
Results will update as you type.
  • User's Guide
    • Reference
      • Actions
        • getClientInfo
        • getReplacementVariableList
        • help
        • run
        • runFromCsv
        • runFromJson
        • runFromList
        • runFromSql
        • runIf
        • setReplacementVariables
        • copyFiles
        • renderRequest
        • sleep
        • getFileList
        • getFileMonitorList
        • getUpgradeInfo
        • provideFeedback
        • runFromFileList
        • runFromFileMonitorList
        • runFromPropertyFile
        • updateInstallation
        • updatePropertyFile
        • writeFile
        • getSqlResultList
        • return
        • clearSecureProperties
        • exportSecureProperties
        • getSecureProperty
        • getSecurePropertyList
        • importSecureProperties
        • removeSecureProperty
        • setSecureProperty
        • getAutomation
        • getAutomationList
        • runAutomation
        • runFromAutomationList
      • Parameters
      • Action Categories
      • Action Types
    • Examples
    • Advanced topics
  • Administrator's Guide
    Calendars
You‘re viewing this with anonymous access, so some content might be blocked.
/
writeFile



writeFile

Dec 03, 2024

See also: Actions

Description

Save data or input lines into a file. For example, this can be used to create a temporary run script. If the file already exists, either use the replace or append parameters to avoid an error. Options are available to show or run the file after it it saved using '--options show' or '--options run'.

Required Parameters

file, (data or input)

Optional Parameters

append, options, encoding

Type

Create

Category

Files

Output Formats

Replacement Variables

Since Version9.9.1

Examples

writeFile

Related How To's

, multiple selections available, Use left or right arrow keys to navigate selected items
cli-action
cli-action-writefile
cli-parameter-file
cli-parameter-data
cli-parameter-input
cli-parameter-append
cli-parameter-options
cli-parameter-encoding
cli-parameter-action
cli-parameter-dateformat
cli-parameter-dateformat2
cli-parameter-help
cli-parameter-outputtype
cli-parameter-special
cli-parameter-quiet
cli-parameter-verbose
cli-parameter-debug
cli-action-category-files
cli-action-type-create
Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.
{"serverDuration": 18, "requestCorrelationId": "ccb0acde686c42388b5f62974e5411a5"}