My org uses team-managed projects so various teams to customize issues and workflow. However, all teams want and need the ability to request feedback on their work. We currently have a global custom field "reviewers" for the reporter to specify users who should monitor the work. Each project has an automation rule to assign separate "Review XX" subtasks to each {{reviewer}} user on a given transition. This works well, except for the administrative overhead of ensuring consistency across 30+ separate rules.
I would prefer a single global rule that applies to all projects, but the team-managed projects have distinct issuetype.id for subtasks in each project resulting in an invalid issue type error.
I've tried to lookup the subtask issuetype.id to then set as part of the automation, or set hierarchy=-1 , but neither have worked.
Hi @Carina Lora
I recall some open suggestions about such needs, and those no doubt led to the recent feature to share global (i.e., company-managed) fields with team-managed projects. But that does not help for issue types...
One possible workaround is to not use the Create Issue action in your global scope rule. Instead use the Send Web Request action to call the REST API endpoint to get the issue type's id for the specific project, and then use another call to the REST API to create the issue with that id for the type.
If you want to try this approach, here is a how-to article for calling the REST API from a rule, and the links to the needed endpoints' documentation:
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.