I have client requirement.I have to update Title and Description in jira using rest services.
Could you please provide me corresponding rest api as well as request payload for update and Title and description.
Regards,
Nageswara K.
Hi Alexey..
I have constructed requested rest service following to update summary.
/rest/api/2/issue/10206/editmeta
This is my request payload.
{
"update":
{
"summary":"Thi is my update summary"
}
}
getting following error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should use PUT /rest/api/2/issue/{issueIdOrKey}
not the eidtmeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have removed editmeta.
/rest/api/2/issue/10206
Request payload is :
{
"update":
{
"summary":"Thi is my update summary"
}
}
but getting below error.
{
"errorMessages": [
"Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@1440b411; line: 4, column: 1] (through reference chain: com.atlassian.jira.rest.v2.issue.IssueUpdateBean[\"update\"])"
]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey.
Could you please provide me both cases like Title and Description .
Rest services URLs and corresponding payloads.
that should be great.
Regards,
Nageswara K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{"fields":{"summary":"This is a shorthand for a set operation on the summary field","description":"description changed"}}
PUT /rest/api/2/issue/issuekey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Alexey..
working as expected..
Regards,
Nageswara K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.