Its possible to assigned workflow or workflow scheme to the jira project using jira server rest api?
No, because it's not as simple as "change workflow". You need to go through the migration process when you change a workflow, and Atlassian have not yet coded a REST call that can demand all the migration information up-front.
thanks for your answer.
can you help me to get more info about "PUT /rest/api/2/workflowscheme/{id}" this api
how its works ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See https://docs.atlassian.com/software/jira/docs/api/REST/8.13.1/#api/2/workflowscheme
(Adjust the 8.13.1 for your target version of Jira). You'll see there's calls for doing everything except actually applying a scheme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also want to modify workflow can you tell me which api i need to use. I used "PUT /rest/api/2/workflowscheme/{id}" , its gave me response as 200 but i can not see issuetype get updated in that workflow scheme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To modify the workflow, see the calls documented on the link I gave you.
And, as for "issuetype get updated", please re-read my original answer.
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.