Add only the organization that customer is involved automatically
When a service desk agent creates a ticket, the organization/s are not automatically added.
I tried with this:
https://scriptrunner.adaptavist.com/latest/jira/blog/GettingMoreOutOfJsd.html#_adding_organizations_when_a_service_desk_issue_gets_created
and this:
But both solutions add to the Jira ticket all the organizations that exist on the Jira Service Desk Project, but I don't want this I only want to add the organizations that the customer is involved, is that possible?.
Best regards,
Adrián.
Hi Adrian,
Maybe Actions for Jira Service Desk will be useful for you. It provides new actions in the Automation (sections IF and THEN) called "Reporter Email Contains" and "Add organisations". You can set them after Issue created trigger. Please write more details what exactly do you need if this solution won't solve your problem.
Cheers,
Kate
Hi Kate,
It's a good approach but my problem is the most part of the companies are from families and for this reason they use generic emails (google, yahoo...)
For this reason, I need to recover all the organizations that this customer has in order to add all of them to the request, I review Java API and don't have any method that gets you all the organizations that the customer has, but on the API REST I found: https://docs.atlassian.com/jira-servicedesk/REST/4.9.1/#servicedeskapi/organization-getOrganizations
In the documentation, you can read: "Returns a list of organizations in the Jira instance. If the user is not an agent, the resource returns a list of organizations the user is a member of."
This is exactly what I need but I don't know how to execute API REST calls with the customers without the password, or exist something similar on the API Java
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.