Dear Experts of the Atlassian Community,
Please follow me allong in the next scenario and help me figure out if this is possible.
I have some difficulties with establishing a connection with a third party that uses ServiceNow. Particularely when it comes to comments. We're using automation for Jira to do a web request (GET & POST respectively) that will retrieve and send information, using a dedicated integration account (Basic Auth with API token). This all is being done
I running into an issue with the comments, that whenever the third party's ServiceNow's instance sends us a ticket in our Jira system and makes changes to the ticket including commenting, this works just fine.
The problem starts when I make a comment afterwards, which triggers the web request and sends the comment back. This is fine, but it also sends all previous comments instead of just the last one.
So I thought about a workaround to copy the internal and public comments to separate customfields, so these can be mapped. But I am having trouble finding the right smartvalues to put the public comments in Field A and the internal comments in Field B. I used the following configuration in Automation for Jira:
The smartvalue for Field A returns both the public AND internal comments. Field B only returns true/false values. Is there a way to seperate them?
Take the smart value from your second field and use that as a condition. So if {{comment.properties."sd.public.comment".internal}} equals true, than put the first smart value into internal comment. If it is false, put the smart value into the 1st field.
@Kian Stack Mumo Systems I have tested this out. This works! Thank you very much for your quick response!
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.
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.