I am using Jira Cloud and the custom field type is Jira user and another custom field is the date.
How can I get the value of both the custom fields when a certain trigger is done?
On the test, you can see I am not getting the value for the custom field.
Hello @[deleted] ,
The following document gives more details on the webhook operations, but Select the checkbox under the Wait for Response section noting: "Delay execution of subsequent rule actions until we've received a response for this webhook"
Once selected you can use the response data in follow-up actions in the rule.
Regards,
Earl
Still not working after checking the wait for response button
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted] ,
OK, Got it! Apologies for misunderstanding the issue.
For the account manager field, it looks like it is most likely a user picker field and you will want to use the format "{{issue.field.DisplayName" with the field name being either the Full Field name or customField_id like the following example, noting the field ID and name will be different in your case:
{
"hello" : "{{issue.key}}"
"description" : "{{issue.fields.description}}",
"user field displayed as hash ID" : "{{issue.customfield_10069}}",
"user field displayname using customField_ID" : "{{issue.customfield_10069.displayName}}",
"user field displayname using field name" : "{{issue.A_user_picker.displayName}}"
}
Additional details on user field smart value formatting can be found at the following link as a reference, noting you can output different variables like e-mail address, display name, or account id depending on what you are looking for in the webhook:
So if your account manager custom field is named "Account Manager" it would be like this:
{
"hello" : "{{issue.key}}"
"description" : "{{issue.fields.description}}",
"account manager" : "{{issue.Account Manager.displayName}}"
}
Regards,
Earl
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.