How can I update issue type field and simultaneously (in the same request) update another field using Jira Cloud REST API?
For instance - I've got 2 issue types:
The problem is that when I send a request to the given endpoint to change the type of an already existing issue from Task to Story and pass the particular priority, I'm provided with the error in the response.
"errors": { "priority": "Field 'priority' cannot be set. It is not on the appropriate screen, or unknown." }
Jira Cloud REST API endpoint and payload:
PUT /rest/api/3/issue/{issueIdOrKey}
I suspect that you may have to do this in 2 separate calls i.e. first change the issuetype and then set the priority.
Have you tried setting the priority of an existing Story just to confirm that it works correctly?
Hi. Yes, we've already tried and in separate calls it works fine. The drawback is obvious, since we have to either send 2 synchronious requests or work around asynchronious ones and I hoped that there was another solution. Nevertheless, thanks for the response.
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.