Forums

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

Set assignee by rule

Antonia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2025

Hello,
I am trying to create a rule that creates a ticket for an asset on a specific date and automatically adds the assignee and request participants to the ticket.
So I have an attribute in my asset with a date. If the date is 3 weeks in the future, a ticket must be created. This works so far, but I can't get the assignee and request participants to be set automatically.

The field in which the persons are listed is called “Key Owner.” The first person listed in this field should always be entered as the assignee, and the rest as request participants. However, this does not work with the following values:

  • {{object."Key-Owner"}}
  • {{object."Key-Owner".Mail}}
  • {{issue.Asset-Key-Owner.get(1).accountid}}
  • {{object."Key-Owner".get(0).accountId}}
  • {{object."Key-Owner".accountId}}

The field where the people are listed is an object field containing the users imported from Intune.

Screenshot 2025-10-21 150701.png

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2025

Hi @Antonia 

Is the "Key Owner" field an asset attribute or a custom field of type assets?

What does a log action give you as information, so add log action for the smart values:

{{issue.Asset-Key-Owner.get(1).accountid}} - seems wrong, as this implies Asset-Key-Owner is a user picker field on the issue.Any smart values starting with issue implies a field on the issue
{{object."Key-Owner".get(0).accountId}}
{{object."Key-Owner".accountId}}

Also loo at this community article and KB article.

Antonia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2025

Hi @Marc - Devoteam

Log action (it says nothing, but under create work item it says inactive user!?):

Screenshot 2025-10-21 154429.png

Is the "Key Owner" field an asset attribute or a custom field of type assets?

Unfortunately, I'm not quite sure what you mean, but maybe this screenshot will help:

Screenshot 2025-10-21 153837.png

 

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2025

Hi @Antonia 

See the community post and article I added.

This article provides information as wel,, https://support.atlassian.com/jira/kb/how-to-auto-populate-approvers-from-asset-objects-attributes-using-automation-in-assets/ 

Also make sure the user executing this needs to have the correct permissions.

Browse Users and Groups global permission, this is a global permission in Jira, needs tp be granted to the rule actor.

0 votes
Mikael Sandberg
Community Champion
October 21, 2025

In your person object, do you have a reference to the user's Atlassian account? You can do that by having an attribute that is of the user type.

Antonia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2025

We have a reference to the other object type, and it contains the user ID or email address, for example. Isn't that what I need? Because emails are also sent out and that works, but the assignee/request participant doesn't work.

Screenshot 2025-10-21 152859.png

Does it have to be a user attribute, or would an object attribute work as well?

Suggest an answer

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

Atlassian Community Events