You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
I'm glad I could help!
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.