Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule for automatic field modification

Beraud romain October 18, 2024

Hello, 

In my organization, I've recreated all the queues. Now they correspond to the teams in my organization.

I'd like to associate the “Team” field automatically with the ticket manager.

I tested several possible solutions in JQL, but none of them worked.

I created my automation rule as follows: When: ticket assigned -> Then: Modify ticket fields

JQL code: { “fields": { “Team": ”{{issue.assignee.team}}” } }

 

Knowing that my Team field is locked by default and I can't find a way to unlock it.

So I can't select it as a value to modify for the second module.

 

Thanks for your help

 

1 answer

0 votes
Tessa Tuteleers
Community Champion
October 18, 2024

Hi @Beraud romain , 

while it should be possible to set the Team field in automation if you have the ID of the team, there currently is no way using smart values (as you tried) or even API to get the Team of the assignee. 
I don't know how useful it would be if it was possible, as a user can be a part of multiple teams, so which one would you choose? 

If you can find a way to (for instance) match group membership of the assignee (which you can JQL for) to specific Team IDs, you could update the issue accordingly.

You can find info on how to update the Team field here

Not what you want completely, but this is as far as it goes at the moment according to my knowledge. 

- Tessa

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events