I would like to change the field 'state' to a value that the workflow contains over api.
The workflow consists of Unspecified, Active, Retired. Every edge has 'everyone' permission.
The type is Test Step
The command is: im editissue --fields=State=Retired
The error message is: Could not save modified item 325885: The following fields may not be edited [ State ]
Do you have any clue to solve the problem?
This command should work and is supported using JAVA API's. I tried in my local environment and it's working perfectly... Take a look over below command and execute it as it is.. (Just change ID and State Value as per environment)
im editissue --field="State=Under Execution" 11704
FYI: In your command it's --fields and it should be --field and you have not gave ID so if i change your command a bit it should be :-
im editissue --field="State=Retired" 325885
Hope it helps.
Thanks for your help. I typed the command in here an wrote some errors in it. Sry.
I've found the solution for problem. For the state there was a rule for type test step. After removing this rules, the state change is working.