Prevent issue assignment based on field value

Mario P February 25, 2025

For HR I would like to implement an automation rule that prevents the issue being assigned to the same user that it is targeting.

Scenario:

User has complaint against HR employee that handles JSM tickets. If they make a ticket I would like to prevent this ticket to be assigned to that user(target) so that there is no conflict of interest.

What I tried:

When Issue is assigned

Compare if account ID is NOT the same as target account ID

Then set issue to Unassigned.

 

However I am having trouble with obtaining the information from a field called: Party name.

 

 

25-02-25__18-07-30-2178.png

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Is the field Party Name a user type field? And does it have the space in the name or not? If it has a space you have to use the space in the smart value as well or use the customfield_xxxxx instead.

Mario P February 26, 2025

Goodmorning,

Good questions.

The field looks like this:

27-02-25__08-36-42-2180.png

 

And judging by the Aa indication it is probably a user type field:

27-02-25__08-38-46-2181.png

Instead of naming it I could identify it with it's custom field ID? That's probably in Issues > Custom fields > Field name > edit details > copy id from URL correct?

On another note, is the logic sound? To leave it unassigned might not be preffered I would rather assign it to someone except the for the target.

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