How can we get the value of the custom fields?

Shijianmin
Kilo Contributor

We used Jira spoke v2.5 to integrate ServiceNow SAFe with Jira software.

We have one problem that couldn't get the value of the custom field in Process Jira Webhooks of Subflow.

How can we get the value of the custom fields?

 

[Prerequisite settings]

  • 1.Create a project in Jira software and add customization fields(JiraID) to this project
  • 2.Use "Flow >trigger jira" to pass data from ServiceNow SAFe to Jira Software
  • 3.Use "Subflows > Process Jira Webhooks" to pass data From Jira Software to ServiceNow SAFe

Detail of setting

  • 2.Use "Flows >trigger jira" to pass data from ServiceNow SAFe to Jira Software,

            The setting as follows:

           find_real_file.png

 

  • 3.Use "Subflows > Process Jira Webhooks" to pass data From Jira Software to ServiceNow SAFe

           The setting as follows:

           find_real_file.png

          

[Test After setting]

  • Create a story in the ServiceNow 

         find_real_file.png

  • The Same story is Automatically generated in Jira software find_real_file.png

 

[About log as follows]

  • The log of Flow > Trigger jira >actionfind_real_file.png
  • The log of Subflows > Process Jira Webhooks >actionfind_real_file.png

 

18 REPLIES 18

AlyssaK
Tera Contributor

Hi bekfro, 

Any chance you figured out how to call the action in the process webhook subflow? 

I'm currently stuck on the same step, as the payload I'm receiving is empty..

 

Thanks!

I have asked @Kiran Raddy  for more details

AlyssaK
Tera Contributor

Hi @bekfro, I ended up working it out. 

In your copy of the Process JIRA Webhooks subflow, you add the scripted action and then drag "payload" from the Subflow Inputs section into the payload section on the action: 

AlyssaK_3-1732591254243.png

The output variable that you created in the scripted action will now appear in the data panel on the right side: 

AlyssaK_4-1732591430302.png

From here, you add your update (or create) record action for ServiceNow. In the fields section add the ServiceNow field on the left, and then drag your output variable from the data panel into the field on the right: 

AlyssaK_5-1732591692246.png

To help with troubleshooting, I changed the flow reporting settings to "Full". This enabled me to see exactly which process in my flow was not operating as expected. 

 

 

Thank you @AlyssaK & @Kiran Raddy I was able to get this to work!