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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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

ptc-2809410
5-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!

ACCEPTED SOLUTION

Accepted Solutions

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

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>

 

Announcements


Top Tags