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

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

SOLVED
Highlighted
Regular Member

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

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!

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

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

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>

 

View solution in original post

1 REPLY 1
Highlighted

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

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>

 

View solution in original post

Announcements