Tim Nuwin
Tim Nuwin

Reputation: 2887

How do I add a default value to Confluence Cloud Macro input field?

I am trying to add a default value for the parameter specified in the atlassian-connect.json file.

{"identifier": "title",
    "name": {
        "value": "Title"
        },
    "type": "string",
    "required": true,
    "multiple": false}

How do I specify a default value for that field?

Upvotes: 2

Views: 98

Answers (1)

Abba
Abba

Reputation: 334

Use defaultValue like this:

{"identifier": "title",
    "name": {
        "value": "Title"
        },
    "type": "string",
    "required": true,
    "multiple": false,
    "defaultValue": "My default title"
}

Source: Confluence Cloud global json schema

Upvotes: 1

Related Questions