Service Desk automatically assign request to organization

Hi Guys

In my scenario customers submit requests to the service desk via email. Once the email is received an issue in the service desk is created. Is there a way to automatically assign an organisation to the created issue. 

I already have an organisation set up for the service desk, the organisation already has users. All I need is for any newly raised issues in this particular service desk to automatically be assigned the specific organisation automatically. 

Thank you


3 answers

1 vote
Jack Brickey Community Champion Feb 01, 2017

This is not currently available natively. There is an enhancement request on this you can vote for and watch - JSD-4519

0 votes

The person the request is raised for determines the organisation, as they belong to it.

Is there a way to automate how the users are assigned to organisation? Perhaps using the user's email domain to match it to an organisation? Ideally I would love to avoid the manual process of assigning a user to an organisation every time a new user is created, or having to manually assign users to an organisation given that there are already a few hundred of them in this service desk. 

No. There are feature requests (search for them) that will add this but JIRA hasn't started to work on them yet.

I was able to auto set the organization using the "Set field value (JMWE add-on)" post function. NOTE: It does require the Jira Misc Workflow Extensions (paid) add-on.

I was able to set the Organizations field to the customer organization ID if the Channel is the portal or email and the reporter is in the given organization.

Here is how I have it set up -

  1. add Set field value (JMWE add-on) post function to the Service Desk workflow.
  2. Set as following:
    • Field: Organizations
    • Value Type: Constant or Groovy Template
    • Value: <Customer Organization numeric ID>
    • Under Conditional Execution:
      • Check box for "Only if condition is true"
      • Condition: issue.getEntityProperty("request-channel-type") == "portal" || "email" && issue.get("customfield_#####")?.any{issue.get("reporter")}

The customfield_##### should be the number for the Organization custom field.

Hope this helps. I'm sure there is a way to do this using Script Runner as well but, this seemed pretty easy, you just have to get the add-on.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,016 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you