Adding a blank space at the end of the name of a Work Item in Jira Align using API

Still need help?

The Atlassian Community is here for you.

Ask the community

Summary

Sometimes it is required to add a blank space at the end of the Title of a Work Item for test purposes.
It is not possible to use Jira Align UI.

Environment

Jira Align

Solution

In order to add a blank space at the end of the Title on any Work Item, a PATCH Call with a payload similar to the one below can be used:

[
    {
        "op": "replace",
        "path": "/name",
        "value": "Test New Objective2 "
    },
]

or a CURL call similar to below:


curl -X PATCH "https://site.jiraalign.com/rest/align/api/2/Objectives/761" -H "accept: */*" -H "Authorization: bearer user:[USERID]|[API2.0_TOKEN]" -H "Content-Type: application/json;odata.metadata=minimal;odata.streaming=true" -d "[ { \"op\": \"replace\", \"path\": \"/name\", \"value\": \"Test New Objective2 \" },]"



Last modified on Feb 23, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.