Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the smart value of the reporter's organization in automation?

Deleted user September 6, 2023

I am doing customer registration automation at JSM.

1. Existing registered customers request to register new customers in portal

2. Automate customer registration

This could have been done easily, but the next problem is.

3. Register the organization of the new customer as the organization of the reporter


To solve this, I looked for smart values for the reporter's organization, but I couldn't find them.

How do I enter it?

To organize.. What I need is

Organization of the reporter (Smart Value)

 

 

Screenshot 2023-09-07 at 10.56.32.JPG

1 answer

1 accepted

3 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
September 6, 2023

Hi @[deleted] 

Your question is a bit trivial, in the sense that to find the reporter's organization, means that in the first hand you already added him/her to an organization. Is your JSM open for public requests? What exactly are you trying to achieve? You want to create an organization for customers you currently doesn't have any organization and add new users with existing organizations to that organization?  

Deleted user September 6, 2023

Hi @Alex Koxaras -Relational- 

Reporters have organizations.
And the portal is only available to authorized users.
What I want is that when a requester who belongs to an organization wants to add a new requester from the same organization, it will automatically add the requester to that organization.

Alex Koxaras -Relational-
Community Champion
September 6, 2023

@[deleted] that makes sense! Thanx for clarifying this! Try this smart value:

{{issue.Organizations.first.name}}

since all you want is the organization that is already populated on the issue, based on the reporter's organization.

Let me know if that helps!

Deleted user September 7, 2023

@Alex Koxaras -Relational- 
Thanks, I was getting an error, but replacing 'name' with 'id' fixed it~.

{{issue.Organizations.first.id}}
Alex Koxaras -Relational-
Community Champion
September 7, 2023

Good to know that @[deleted] !

Suggest an answer

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

Atlassian Community Events