Hello Community!
As we approach the new year I am trying to get a jumpstart on one of my Community New Year's resolutions. Specifically contribute to the community more through articles in 2024.
In my first contribution I offer up two ways of automatically update the team field. I got the idea for this article while answering a question today so I thought I might extend it to a broader audience via this article.
The first method is using a post function on a transition and the second is using automation. The key, in both cases, is to leverage the team ID which is an obscure number that can be found in the URL of the team page.
Let's say that you want to update the team field when an issue is transition to a specific status. In order to do this you simply need to add a post function to the desired transition. The text & images below should help explain this process in more step-by-step detail. Note: This is only applicable to Company managed projects.
While the post function method and use case is rather specific and possibly limited, automation allows you to expand the potential cases considerably. This is because you can leverage different triggers and, more importantly, conditions under which you could set the desired team to the Team field. With that said, I will not focus on the various triggers or conditions since that isn't the primary focus of this article. Rather, I will simply provide the syntax for the action to set the Team field.
{"fields":{ "Team":"332dd9fc-59d6-48e8-b882-4ae6580732df" }}
Save the rule and test it out!
Please share your thoughts and ideas in the comments so that others might benefit from community sharing!
Have a wonderful new year all!!
Jack Brickey
EVP Engineering & IT
RTP, NC
4,272 accepted answers
9 comments