Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,049
Community Members
 
Community Events
176
Community Groups

Assign issue from user picker

Hi everybody, I am trying to automatically assign a issue to an operator, which is going to be chosen by the user opening the issue, from a user picker field.

I have found already a lot of script in the community addressing this, but I am sure I had find an option in the Service Desk doing it (I would think post functions, but when I try there I can change the "Assignee" field only to a given value), but I can't anymore.

Any idea of where can I find that option again, or how to workaround?

(The operator is linked also with the department of the user, can it be of any help for a workaround?)

Thanks

1 answer

0 votes
Dirk Ronsmans Community Leader Sep 28, 2020

HI @Alex Larini  and welcome to the community,

As you are on cloud you could use the Project Automation to do this.

If you create a new rule with for example the trigger Issue Created, you can add a action component to assign to a user.

image.png

On that component you can choose the "user to assign to" as smart value.

The smart value would then be: {{issue.yourcustomfieldname}} (for me this is random user in the example)

I feel like this would be your easiest solution.

If you need it on a transition you can also rewrite your automation trigger to run at a different point in time.

This is a basic automation of course, you can make it more complex by checking on the value through an if statement and only setting if there is one, but leaving it as is an empty value will basically be "unassigned"

Does this help you out?

Sadly not... I see a different screen than those I saw posted here in the community (and in your comment as well). I am starting to think I have some "different version" or similar, is it possible?

When I go to create an Automation, I have not the assign option.

I can edit the issue, edit the Assignee field, but than it is expecting an absolute value, not a smart one (tried to write as you did with {{ }} but it is just saying that there is no user with that name)

 

image.png

"Automation" is different, that is the default automation tool that Jira comes with and it isn't great.

 

The automation system you want that is being shown above will be under the "Project Automation" section of the project settings.  If you are on-prem you will need the "Automation for Jira" app installed in your instance.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events