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,460,447
Community Members
 
Community Events
176
Community Groups

Limit Assignee to member of Assignment Group

Edited

Hi all,

In JSM there is no out of the box functionality for assignment group. This is standard in almost every other ITSM that I've worked with and it amazes me that this isn't already part of the product.

I've seen a lot of forum posts about how to achieve this with scriptrunner / addons but I've found a way to implement this with standard jira functionality so I thought I'd share this with the community. Apologies if this has been done already, I haven't seen it if so.

  1. Create a Custom Group Picker field and call it Assignable Group (or whatever you want)
  2. Go to the project that you want to implement this is in
  3. Go to Project Settings > Permissions
  4. Change the permissions in 'Assignable User' to only allow members of Assignable Group

Assignable_User.JPG

This will only allow you to limit the assignee to a user that exists in the chosen Assignment Group.

THE PROBLEM IS I can't see a way of limiting the group picker field to only include the groups that you want to use as assignment groups, it will list all of the groups that exist in User Management > Groups. Including jira-administrators etc.

To get around this I've had to create a list / cascading list field that only contains the Assignment Group that I want. Assignable Group is then hidden from all screens.

When the user changes the Assignment Group field an automation rule will run to:

  1. Clear the current assignee (they probably won't be part of the newly assigned group)
  2. Increment the Assignment Count (which also doesn't get tracked by default...)
  3. Populate the Assignable Group based on the Assignment Group chosen (using IF/ELSE)

Automation - Assignment Group Changed.JPG

Hoping this will be useful to others. Also, if you can suggest a better / simpler way of achieving this functionality I'd love to hear it.

Many thanks,
Dave

 

2 comments

Hi @David Meredith 

I would use an Insight field containing data from the CMDB and associated to an object type named Assignable Group that contain your JIRA groups that you use only when assigning an issue. It would contain the "real" groups instead of a custom field list that has to be maintain manually. I think it would also simplify your automation rule

Like David Meredith likes this

Hi @Carmen Nadeau ,

That sounds really interesting. We don't utilise Insight at the moment because we're looking at an external CMDB.

Do you have any details on how to create those Insight fields?

Hi @David Meredith 

You can use Insight CMDB not only for your CIs but you can create a Schema containing pretty much anything you may need to complete info for your CI  (attributes) that are reusable with other CI. An attribute can be another object so the possibilities are there.

Here is the documentation for creating an Insight custom field 

https://support.atlassian.com/jira-service-management-cloud/docs/set-up-the-insight-object-field/

Like David Meredith likes this

Hi @Carmen Nadeau ,

I've had a play around with Insight and I've been able to make an Insight Custom Field with CMDB values that link to the existing User Management > Groups.

The problem that I've found is that the 'Assignable User' permission doesn't allow you to use an Insight Custom Field to determine who can be assigned to a ticket.

I'm a bit lost with assignment group as I haven't found an example that works really well / simply.

Pramodh M Community Leader Aug 28, 2022

Very Insightful!!

Thanks for Sharing @David Meredith

Like David Meredith likes this

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events