Hello, how to add some information to description of the issue without removal any data?
I am able only to update a description but I need to add more information to original text.
I use postman and Jira(v8.4.2)
{
"update": {
"description": [
{
"set": "Need to add more information "
}
]
}
}
Thank you.
Hi @Darik ____
The way that I do that is to run a GET call on the issue, extract the Description, edit or append what I want to get the full new Description, then do the Update as you've shown above
Could you provide me with an example please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So initially I do this call
/rest/api/2/search?jql=key=ABC-123&fields=key,summary,description
which returns minimal info, but allows me to get the current Description (held in a string variable).
I then change the text of the variable to what I want it to be and then use a PUT call with
/rest/api/2/issue/ABC-123
passing in the Description much like you show in your question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you this is helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.