JIRA Service Desk integration

HI ,
How can I get User Display name or email in summary , currently i am using $!{plan.arguments.requested_for} but this is printing Employee ID.

Also, I need to pass the access getting revoked in summary , I am using $item.name but this is giving blank value .

Hi @shikhadeliveroo

I have not worked on integrating the Jira service desk, however, to attract more attention from experts here, please elaboarate your usecase, provide more details on what you are tring to achieve may be with screenshots etc.

Regards

I have integrated JIRA Service desk for ticket creation in case of access revoke. I need to add displayName or email ID of the user whose access getting revoked in the description and summary.

If you want to add any custom attributes in the ticket that are not in the plan, you need to have a Before Provisioning rule. Using this rule, add all the required attributes to the plan.

Eg.,

if( plan != null ){
        if (plan.getIdentity() != null && plan.getAccountRequests() != null){
        
        try{
            List accountRequests = plan.getAccountRequests();
            Identity identity = plan.getIdentity();
           			
            Attributes arguments = plan.getArguments();              	
            arguments.put("identityDisplayName", identity.getDisplayName());
        }
   }
}

Now in the ticket, you can get the displayname for a user as !$plan.arguments.identityDisplayName

For this try below. Here you can see foreach loop to populate multiple access details in the ticket that are being revoked.

#if ($request.items) #foreach ($item in $request.items) $!item.Operation $item.name: $!item.value

where do I need to patch this rule, since I have not added any source for JIRA. Do i need to create a JIRA source? I thought this will work without any source creation.

No need to have a separate source created. There is separate API to patch service desk integration. check this Service Desk Integration | SailPoint Developer Community.

BP rule is a cloud rule, first you need to have it deployed to tenant through SailPoint ES team and then have it patched to JIRA serivce desk integration

ok, can we get the entitlement to be revoked in description without writing the rule?

yes, no need to have a rule, just use this statement in description field #if ($request.items) #foreach ($item in $request.items) $!item.Operation $item.name: $!item.value

This worked, thank You.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.