Hello,
I have an integration with Azure DevOps that creates Product Backlog Items when a WF Project goes Current.
Context:
- In the WF Project, there is a parent task named 'MarTech Development,' and varying subtasks underneath it that are all summed up. I can retrieve this information in a GET API Call; part of my QS is:
- Key: fields
- Value: ID, name, workRequired, plannedStartDate
- Key: name
- MarTech Development
- Right after this API Call module, I have a Set Variable module that I reference as 'Planned Hours', with a value that effectively gives me the hours:
- round(body:data[1]:workRequired/60)
- I Create a Record (ADO module), set my Dev Hour Estimate='Planned Hours' and voila, my MarTech Task total planned hours is now the same as my PBI Dev Hour Estimate in ADO
What I want to accomplish:
I want a bi-directional communication of Dev Hour Estimates back to my MarTech Task. Assume that I have a link to the PBI and the PBI ID stored in the respective Workfront Project.
What I''ve (barely) built so far:
- ADO Module Watch Event that checks for updated Work Items (PBIs), with the following Outputs:
- ID
- Stage
- Dev Hour Estimate (this is = to 'Planned Hours' of the MarTech Development Task in the WF Project)
- Dev Target Date (this is = to plannedCompletionDate of the MarTech Development Task in the WF Project)
- A Workfront Search Module that pulls the Custom Field that stores the PBI ID and Link
- A filter that ensures the PBI ID = the ID stored in the WF Project
I now am stumped with how to update the specific MarTech task in my Workfront Project with the updated information from the PBI.
Thank you for your insight! I will try to provide clarity to my best ability.