cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Integrity: Edit field state over api

thiem
2-Guest

Integrity: Edit field state over api

Hi,

 

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?

3 REPLIES 3
kjain-2
15-Moonstone
(To:thiem)

Hi @thiem,

 

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.

 

Grube,

Kapil

Hi,

 

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.

kjain-2
15-Moonstone
(To:thiem)

Hi @thiem,

 

Great.....

Please accept this as solution or resolved.....

 

Grube,

Kapil

Top Tags