jira-client icon indicating copy to clipboard operation
jira-client copied to clipboard

How can I set status

Open DockerFan opened this issue 5 years ago • 2 comments

like this: issue.update().field(Field.STATUS,"测试通过").execute(); but result is 【net.rcarz.jiraclient.JiraException: Field 'status' does not exist or read-only】

DockerFan avatar Dec 17 '19 02:12 DockerFan

I meet the same question .can you give me some idea?or show my you code .thanks

Ants-double avatar Mar 02 '20 02:03 Ants-double

STATUS is not field

Try with

issue.transition().execute("测试通过");

make sure current status !="测试通过" before executing

Jacobvu84 avatar Oct 11 '20 16:10 Jacobvu84