If JSON return value = null ignore next few steps

Highlighted
Six Stars

If JSON return value = null ignore next few steps

Hi,

 

I am currently pulling data from our JIRA API via several tRest components and am stuck at the last part.  Basically I have a list of "Epic ticket ID's" that 50 JIRA tickets are assigned to (or not assigned).  The issue for me is that not all 50 tickets are assigned to an epic so lets say 25 of these tickets are returning null and 25 are returning a String value "customfield_####".  My problem is that I would like to run a tRest call if the value is not null, however if the value is null I'd like to put the data into a tMap.  Also, if the value is not null, after the tRest call I'd like to extract the epic name from the tRest using tExtractJSON fields and then push to the same tMap.  I've attached an image to this and hopefully I am clear on what I'm looking to do.  Any help would be much appreciated. 

 

Thank you!

Six Stars

Re: If JSON return value = null ignore next few steps

Here's another attachment of what I'm looking to do (with the error I'm getting) in case the first post was not clear enough.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog