Home > Enterprise >  Jira API problem. Research for several days
Jira API problem. Research for several days

Time:09-20

API: Do the transition
POST/rest/API/2/issue/{issueIdOrKey}/transitions

Dec:
Perform a transition on an issue. When performing the transition you can update or set other issue fields.

The fields that can be set on transtion, in either The fields parameter or The update parameter can be determined using The/rest/API/2/issue/{issueIdOrKey}/transitions? Expand=transitions. The internal resource. If a field is not configured to appear on the transition screen, then it will not be in the transition, metadata, and a field validation error will occur If it is submitted.
Example:
Fields ": {
"Assignee" : {
"Name" : "Bob"
},
"Resolution" : {
"Name" : "Fixed"
}
},

According to the example. To invoke the jira API. But respose:
"Errors" : {
"Resolution", "Field" resolution "always be set. It is not on the appropriate screen, or unknown."
}
Is a regulation can't change it. But the official document clear two example above all cannot be changed
  • Related