Skip to main content
5-Regular Member
January 16, 2020
Solved

SPR Task closing by CLI command im editissue: which field to update?

  • January 16, 2020
  • 1 reply
  • 2019 views

I have tried this for SPR Task in State "Ready to Verify" to close it:

>im editissue --addFieldValues="State=Cancelled"  <SPR Task ID>

since SPR Task's field "State" appears as pick field (drop down list)

however, the command fails as incorrect field type used -

"Field "State"  is of a type which does not allow the options "addFieldValues"...

Allowed field type are: pick, user, group, ibpl and relationship"

Which type of a field I have to use in the command?

Thanks!

Best answer by awalsh

You can set the State field just using the --field option.  This is true for State, Project and Type. They look like pick fields, but are actually their own special types. 

 

im editissue --field=State=Cancelled <SPR Task ID>

 

1 reply

awalsh5-Regular MemberAnswer
5-Regular Member
January 16, 2020

You can set the State field just using the --field option.  This is true for State, Project and Type. They look like pick fields, but are actually their own special types. 

 

im editissue --field=State=Cancelled <SPR Task ID>