I have a text area field that users typically copy and paste text from one medium to another. At times, this coped text may have quotes in them (") but if there are more then one (Example: This is a "test") then the IFTTT macro throws an error. I have tried both the .escapeJSON and .replaceCRLFWithBR field extensions with no luck. I feel that this was working before but something has changed and now I'm stuck. Any guidance would be appreciated!
Additionally, I have an IFTTT send email macro set to "on modified" which works and I want to collect the JIRA Key as well. Sample email body looks like this:
Item Name: [entry.issue] assigned as: $iftttResult_JIRAID
The [entry.issue] field comes through fine, but the JIRA Key call just comes in as it's written above. Again, I may be doing this wrong and just looking for a little clarification. Thanks!
Could you share your configuration?
Difficult to say anything without seeing what you actually have
Alex
text fields are just "Text Area" Confiforms macros. I call them in a No Format macro embedded within an IFTTT "On Created" - JSON is formatted as such item in question is highlighted:
"description": "h1. 1A ANALYST FIELDS \n\n ---- \n\n ||Form Field||Field Value|| \n |Issue Name:|[entry.issue.value]| \n |Potential Issue Entry Date:|[entry.opendate.value]| \n |Product:|[entry.product.label]| \n |Sub Product:|[entry.subproduct.label]| \n |Brief Description:|[entry.brief.replaceCRLFWithBR]| \n etc.
The IftttResult macro is defined as such and appears at the bottom on all my IFTTT macros on my page:
entryId=[entry.id]&jirakey=${iftttResult_JIRAID}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In order to handle characters that may break your JSON you need to use the
[entry.brief.escapeJSON]
I cannot say about the other issue you are having (without seeing real configuration), but it seems to me that "JIRAID" is not available when you think it is (I understand that it is set when record is created, as you have an IFTTT that acts on created and creates Jira issue... which means... if you have an onModified IFTTT rule that relies on this result - it is incorrect... as it is filled only "onCreated" )
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.