英文:
JIRA automation treats active users as inactive for issue assignment
问题
我正在加载一个群组的成员列表,然后通过自动化为每个成员创建一个问题。
接下来是创建变量。
然后,我使用循环遍历它。
在分支内部,我使用以下方式创建任务。
结果如下:
带有以下审计日志:
如您所见,它按预期工作,但对于分配,它仅对一个用户成功(审计日志中显示有不活跃用户警告)。
我已经检查了第一步中的结果数据,并所有用户都标记为活跃。我还确切知道这些帐户每天都在活跃使用。
您有任何想法为什么会发生这种情况,或者应该如何更改我处理列表的方式吗?
英文:
I am loading the list of members of a group, then creating one issue for each of them through automation.
Next step is creating the variable
I then loop through it with
And within the branches I create the task using
And the result is below:
with the audit log as below
As you can see it has worked as expected, except for the assignments where it has only been successful for one user (cf inactive user warning in the audit log).
I have checked the result payload in the first step and all users are marked as active. I also know for a fact that the accounts are all actively used daily.
Any idea why this is happening or how I should change the way I process the list ?
答案1
得分: 0
直接在高级分支中使用列表 {{webResponse.body.values.accountId}}
,而不是创建一个变量然后遍历该变量的拆分部分。
英文:
Instead of creating a variable and then loop over the split of the variable, just use the list {{webResponse.body.values.accountId}}
directly in the advanced branch and skip the variable creation step.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论