• Announcement banner
  • App data policies
  • App migration
  • App properties
  • Application roles
  • Audit records
  • Avatars
  • Classification levels
  • Dashboards
  • Dynamic modules
  • Filter sharing
  • Filters
  • Group and user picker
  • Groups
  • Issue attachments
  • Issue bulk operations
  • Issue comment properties
  • Issue comments
  • Issue custom field configuration (apps)
  • Issue custom field contexts
  • Issue custom field options
  • Issue custom field options (apps)
  • Issue custom field values (apps)
  • Issue field configurations
  • Issue fields
  • Issue navigator settings
  • Issue notification schemes
  • Issue priorities
  • Issue properties
  • Issue resolutions
  • Issue security level
  • Issue security schemes
  • Issue type properties
  • Issue type schemes
  • Issue type screen schemes
  • Issue types
  • Issue votes
  • Issue watchers
  • Issue worklog properties
  • Issue worklogs
  • Issues
  • JQL
  • JQL functions (apps)
  • Jira expressions
  • Jira settings
  • Labels
  • License metrics
  • Myself
  • Permission schemes
  • Permissions
  • Priority schemes
  • Project avatars
  • Project categories
  • Project classification levels
  • Project components
  • Project email
  • Project features
  • Project key and name validation
  • Project permission schemes
  • Project properties
  • Project role actors
  • Project roles
  • Project types
  • Project versions
  • Projects
  • Screen schemes
  • Screen tab fields
  • Screen tabs
  • Screens
  • Server info
  • Service Registry
  • Status
  • Tasks
  • Time tracking
  • UI modifications (apps)
  • User properties
  • Users
  • Webhooks
  • Workflow scheme drafts
  • Workflow scheme project associations
  • Workflow schemes
  • Workflow status categories
  • Workflow statuses
  • Workflow transition properties
  • Workflow transition rules
  • Workflows
Cloud
Jira Cloud platform / Reference / REST API v3

Announcement banner

Postman Collection
OpenAPI

This resource represents an announcement banner. Use it to retrieve and update banner configuration.

GET

Get announcement banner configuration

Returns the current announcement banner configuration.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
manage:jira-configuration

Connect app scope requiredADMIN

Request

This request has no parameters.

Responses

Returned if the request is successful.

application/json

AnnouncementBannerConfiguration

Announcement banner configuration.

GET/rest/api/3/announcementBanner
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/announcementBanner`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 { "hashId": "9HN2FJK9DM8BHRWERVW3RRTGDJ4G4D5C", "isDismissible": false, "isEnabled": true, "message": "This is a public, enabled, non-dismissible banner, set using the API", "visibility": "public" }
PUT

Update announcement banner configuration

Updates the announcement banner configuration.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
manage:jira-configuration

Connect app scope requiredADMIN

Request

Request bodyapplication/json

isDismissible

boolean

isEnabled

boolean

message

string

visibility

string

Responses

Returned if the request is successful.

application/json

any

PUT/rest/api/3/announcementBanner
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "isDismissible": false, "isEnabled": true, "message": "This is a public, enabled, non-dismissible banner, set using the API", "visibility": "public" }`; const response = await api.asUser().requestJira(route`/rest/api/3/announcementBanner`, { method: 'PUT', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());

Rate this page: