Our Perforce integration writes to the Jira comments when code is submitted for a bug fix.
We would like to replace text (make hyperlinks) within the last comment posted from Perforce.
Can this be done using Automation for Jira?
Hi Jonathan,
We don't support editing comments just yet. It's a good suggestion though and I've raised https://codebarrel.atlassian.net/browse/AUT-419 now to track this!
We've got quite a few higher priority items in our backlog at the moment so it will be a while before we can get to this, but we'll let you know when we get a chance to work on this.
Cheers,
Andreas
Hi Andreas,
Thanks for the quick response.
As i cannot modify the comment, is it possible to read the last comment, take the info i need and create an 'Issue Links - Link to (web link)'?
I see the example for Linking Issues but the 'links to' needs to be type 'Web link'.
Sorry, but we don't support creating remote issue linkes yet either (https://codebarrel.atlassian.net/browse/AUT-176). They use a different REST API compared to standard issue linkes when creating them.
Cheers, Andreas
Thanks.
My last idea then is to simply write the link to a multi-line text field.
Unfortunately, I'm currently struggling append to any values currently in the field:
Is this possible?
{"update": {"Commit ID": [{"add": "{{issue.comments.last.body.replaceAll(\"Change: ([0-9]*), User: ([a-z]*),\", \"http://myURL/changes/$1\")}}"}]}}
It looks like you're new here. Sign in or register to get started.