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,554,124
Community Members
 
Community Events
184
Community Groups

Assigning Reporter's Organization to Issue upon it's creation.

I'm trying to assign an organization to incoming issues onto our helpdesk upon it's creation. So far, this only happens when the customer chooses to share with their organization, but due to the amount of customer's that we're dealing with, we need to have all incoming issues to show the organization a customer's apart of, so we know how to prioritize our work.

I know the way to do this is to run a JQL Look up automation, but I'm not sure what the JQL will look like. So far, I've got this:

help.PNG

Any ideas on what JQL statement I can use to find a reporter's organization?

 

2 answers

1 accepted

0 votes
Answer accepted
Andreas Knecht
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 28, 2022

Not 100% sure if this solves your use-case, but you can just setup a rule like this to set the org based on a reporter's e-mail domain:

Automation - Code Barrel JIRA 2022-06-29 09-37-17.png

Hope that helps.

Sadly, this doesn't work on our project for some reason...

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 30, 2022

Could you explain what exactly/why it doesn‘t work?

Best
Stefan

To break down the issue bit by bit, I've already created the automation you outlined before, as follows:

Error 2.PNG

But when I create a new issue from the portal, despite the issue successfully passing through the automation, it doesn't assign the issue to the organization. The organization below should be "ITW Construction Products", as that's the organization that it's apart of.

Error 3.PNGError 4.PNG

The only way the issue gets assigned to the proper organization, is if the customer chooses to share the issue with their organization. 

Error 5.PNG

So in my mind, either I'm missing something in terms of the Organization field, or in terms of the forms that I'm getting people to sign. Maybe there's a way to change the default value to the "Share with" option to "share with organization", and have it hidden?

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 30, 2022 • edited

Hi @Michael Strong 

Is the reporter´s user already member of an organization? What kind of domain is it that you tested with? --> the rule won´t work for free mail-providers like gmail, etc.

I tested this kind of rule on my side and it worked:

testUser has an email with a private domain and is a customer in the organization "test_SAS". I created the request via customer portal setting the setting to "share with no one". After the creation the organization was set automatically --> see screenshot

image.png

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 30, 2022

Maybe there's a way to change the default value to the "Share with" option to "share with organization", and have it hidden?

BTW: yes there is a way to set this option to default:

click the cog at the upper right corner --> Products --> Jira Service Management --> Configuration

You´ll see the following option:

image.png

Best
Stefan

I'm using a test email to see if it works. The test email is a yahoo email, my personal email in fact, with it being @Sky.com. Guessing that wouldn't work though.

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 30, 2022

Guess that won‘t work either. Any option of testing this with a company email?

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 28, 2022

Hi @Michael Strong and welcome to the community,

First of all: I‘m mainly dealing with Jora Software but as far as my knowledge reaches I doubt that a JQL could solve this/deliver what you expect.

the result of JQL will be a list of issues regarding your search parsmeters. As far as I know organizations are not „issues“ as such (like requests or incidents).

I could imagine that this might be possible to solve with smart values (can‘t verify that at the moment). Otherwise I would try to gather that information via API.

Might it also be an option to „force“ to share with the organization (by making that field required)?

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 28, 2022 • edited
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 30, 2022

Hi @Michael Strong 

did you consider the solution via API? Following automation rule did (as far as I understood the requirement right) the expexted work:

image.pngimage.png

Feel free to give it a shot and let us know if this helps.

Best
Stefan

Like Oleksandr Sokolovskyi likes this

Hi Stefan,

 

I had the same problem, your solution worked for us. Thanks!

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 28, 2023

Awesome. Good to know my answer could help.

Don´t hesitate to click the accept button and/or give a vote for the answer ;)

 

Thanks for your feedback.

Best
Stefan

Suggest an answer

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

Atlassian Community Events