Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

add entitlement value and accountname in ticket summary details

Saviynt_Savvy
Regular Contributor
Regular Contributor

Hi,

I want to add the accountName and the requested Entiltmentvalue to be mentioned in the Ticket Summary details in the format like "accountname_requested entitlement value".

I am able to get the accountName using task.accountName, but not able to get the entitlement value.

Add access task was generated based on Birthright rule and the JSON I'm using is :

{
"call":[
{
"name":"call1",
"connection":"acctAuth",
"url":"https://xxxxxx.atlassian.net/rest/api/3/issue",
"httpMethod":"POST",
"httpParams":"{\"fields\": {\"project\":{\"key\":\"TP\"},\"summary\": \"${task.accountName}_${ task.entitlement_value}\",\"issuetype\": {\"name\": \"Task\"},\"reporter\":{\"id\": \"${user.customproperty8}\"}}}",
"httpHeaders":{
"Authorization":"${access_token}"
},
"httpContentType":"application/json",
"ticketidPath":"id",
"unsuccessResponses":{
"message":"Failed"
}
}
]
}

4 REPLIES 4

SumathiSomala
All-Star
All-Star

@Saviynt_Savvy did you try 

\"summary\": \"${task.accountName+'_'+allEntitlementsValues}\",

${allEntitlementsValues}

SumathiSomala_0-1699428253260.png

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Hi @SumathiSomala 
Thanks for the response, I have tried the above format and not able to fetch the ticket number.
And I need only the Enitltlement Value, using "allEntitlementValues" will bring everything into the summary.

Please share the error logs

Try

\"summary\": \"${task.accountName+'_'+task.entitlement_valueKey.entitlement_value}\",

 

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Thank you @SumathiSomala , I missed this.