问题标签 [workfront-api]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
939 浏览

attask - 从 Attask Api C# 中的自定义字段获取 CATEGORY PARAMETER 值

如何从 Attask Api C# 中的自定义字段中获取 CATEGORY PARAMETER 值假设我们有一个项目模板。有一个像 xyz 这样的自定义字段,这个 custm 字段有下拉值。我想得到那个下拉值。我在用

  • 首先,我通过搜索所有自定义字段找到了该模板的类别 ID

https://companyurl.com/attask/api-unsupported/ctgy/5433689e0000c5ef03c7d699c7317aa6?apiKey=apiKey&fields=categoryParameters:parameter

  • 然后传递给 CATEGORY PARAMETER 以检索下拉的值,但它说请求错误..

https://companyurl.com/attask/api-unsupported/ctgypa/search?apiKey=apiKey&categoryID=categoryID

请帮助如何检索该下拉列表的值..

0 投票
3 回答
1017 浏览

attask - Workfront API 自定义报告

我正在尝试通过 WorkFront API 访问自定义构建的报告。我遇到的问题是报告在运行报告之前会提示您输入两条信息。我可以通过参数提供这些信息并让 API 返回报告吗?

示例:/attask/api/report/[reportID]?input=value&input2=value2

0 投票
1 回答
425 浏览

file-upload - AtTask / Workfront API 文件上传

我正在写一个通用的上传,所以我可以通过 API 上传项目但没有太大的成功。获得 500 个未授权或 400 个错误请求。这是我在谷歌搜索后的尝试。不确定这是否过于复杂。也尝试过减少的方法。有一些帖子,但没有一个真正有效或被确认有效。我稍后会发布一个简化版本,我知道这不会返回值。只是想在我改进之前通过异常。

0 投票
1 回答
460 浏览

text-editor - Cross Object References Workfront text editor

Hello I am attempting to link data that is connected to a task on a project report using the text editor.

So far I have this as my code:

I need to display data from a specific task within a specific custom form on a project report. I know there is no standard method of linking a project with a task, but the relationship is there and from my research It seems possible. I believe that I do not have the correct syntax.

Can somebody please help me with this. I have tried all types of combinations, I even tried adding the aggregator:

Either way I try and link the information the actual entered data will not display. So far the report knows that it is a date field; I know this because I am able click into the field on the project report and choose a date, but the date will not remain selected once I have chosen it leading me to believe that the field is somehow linked, but done incorrectly.

Please help.

0 投票
1 回答
120 浏览

attask - Workfront/Attask:从 Task 或 Assignment 检索“workUnit”返回 http-500

对于对象“分配”和“任务”,字段“workUnit”记录在 Workfront-Apiexplorer 中:https ://developers.workfront.com/api-docs/api-explorer/ (对不起,我无法深层链接到某个对象在文档中)。我使用的是 4.0 版。但是在执行 https://.attasksandbox.com/attask/api/v4.0/ASSGN/search?sessionID=SOMESESSIONID&method=GET&assignedTo:lastName=SOMELASTNAME&fields=workRequired,avgWorkPerDay,task,task%3AdurationUnit,assignedTo,project,role 时, workUnit 我得到 500 作为返回码。任务:durationUnit 正在工作。

这是文档中的错误还是我做错了什么?

0 投票
1 回答
1048 浏览

report - 在 Workfront 集合中引用自定义字段

我在 Workfront 中有一个项目报告,我试图在其中引用在 Workfront 任务中定义的自定义字段。在下面的示例中,“自定义标志”和“设备数量”都是任务上的自定义字段。

我以上面指定的方式引用 Workfront 的打包“任务”字段没有问题,但是每当我尝试使用自定义字段时,该列最终都是空白的。

任何帮助将不胜感激!

0 投票
1 回答
721 浏览

c# - 通过 AtTask RESTful API 获取和分页所有数据

我正在尝试向 AtTask RESTful API 发出 Get 请求以获取 1000 个项目对象。ATask API 文档给出了一些关于如何做到这一点的提示。我需要对要请求的对象数量进行分页。想象一下,我需要抓取过去 7 天可用的任何对象,我该如何更改以下代码来实现这一点,因为我不知道对象的确切数量,所以我不知道应该是什么值我的分页,我不确定是否可以递归地发送 Get 请求,直到获取所有数据。

0 投票
1 回答
684 浏览

attask - 是否可以使用 Workfront API 创建报告

我是使用 Workfront(以前称为 AtTask)API 的新手。我必须为仪表板创建许多报告,这些报告除了 Program 和 Job Role 值之外基本相同。我想创建一个 python 脚本来循环并创建报告。有没有我从文档中遗漏的方法?就像是:

0 投票
1 回答
88 浏览

attask - AtTask API 如何排除字段

在 GET 请求中请求特定字段时,也会包含默认字段。我专门讨论的是 Task 对象上的 Updates 集合。

如果我发送以下查询:

attask/api/task/search?fields=updates:entryDate

出于某种原因,返回的更新包括许多其他字段,包括可能非常大的“消息”。

有没有办法让 API 排除一个或多个返回的“默认”字段?

0 投票
1 回答
1354 浏览

attask - AtTask API 搜索修饰符的完整列表

在哪里可以找到 AtTask API 可用搜索修饰符的完整列表?

基本的REST 文档给出了“一些”修饰符的列表。

哪个是:

  • 情商
  • 格特
  • LTE
  • 一片空白
  • 非空
  • 之间

    ...percentComplete=50&percentComplete_Mod=gte...

我在 StackOverflow 上看到了对其他修饰符的引用,例如“in”和“notin”,但我希望看到一个完整的列表。

有人可以提供完整的搜索修饰符列表吗?这将不胜感激。