We want to automate the creation of Objectives and Key Results.
I know the Objective needs to be created first, then the KR can be created.
But I have a couple of questions?
If I create a "Function" level Objective what is the parentType? Would it not be the same as when creating the Objective?
What are the values for Type? Do they correspond directly to the Type field in the UI? 1 - x?
Depending on the KR type - are different fields required?
@JOHN AMES I don't think it is documented anywhere ...as far as I can tell. I added several Objectives and then used the API to retrieve to see what identifier is used per each type. I hope this helps.
So I created an Objective, with type=1. Then when trying to create a KeyResult, I provide the parentId (of the Objective I just created) and parentType = 1.
When the script runs it returns invalid parentType ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Key Results, the parentType attribute indicates if the Parent is an Objective or a Goal. It sounds like you are creating only Objectives so the parentType value you will use is 44. If you want to create KeyResults on Goals then the parentType is 31. I do not know where those values come from. I hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.