404 Error when Creating Jira Application-Property via RestAPI endpoint /api/2/application-properties/{id}

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Users have expressed the desire to create Jira Application Properties for custom plugins or apps using the REST API endpoint /api/2/application-properties/{id} as seen in (Atlassian Developer Update an application property). However, they encounter a 404 error when attempting to use the PUT method on the Jira Data Center API

Environment

9.0+

Diagnosis

When users attempt to use the PUT method on the /api/2/application-properties/{id} endpoint, they receive a 404 error. This indicates that the requested operation cannot be completed because the server cannot find the specified resource.

Cause

The PUT method is designed to update existing records rather than create new ones. In the context of the Jira API, this means that the PUT method can only modify application properties that already exist. Since the endpoint does not support creating new application properties, attempting to use PUT for creation results in a 404 error.

Solution

Currently, Jira does not support a POST method for the /api/2/application-properties/{id} endpoint, which would be used to create new application properties. However, a suggestion has been logged with Atlassian to introduce this functionality in future updates, aiming to enhance the customer experience by allowing users to create application properties via the API.

See Suggestion: JSWSERVER-26326 - Enable the creation of Jira Application Properties for custom plugins/apps via the REST API.

Updated on March 14, 2025

Still need help?

The Atlassian Community is here for you.