Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I have issues in multiple projects that are linked by a custom URL field which will contain an identical URL.
I'd like to automatically add a comment to linked issues in Project 1 when an issue from Project 2 is Resolved. I'd also like the comment to include a link back to the Project 2 issue and the summary of that issue.
Can someone confirm this will be possible with Automation Plugin and if possible offer some guidance to get me started?
Thanks!
Looks like you could achieve "comment replication" using Script Runner plugin. Please see
Try this: https://gist.github.com/jechlin/106ca5ce42ea80fd9a4c
It's slightly more hassle than it should be because JQL does not support exact text matching.
There are a couple of things you need to configure in the script, see the comments in the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jaime! I'm planning to carve out some time to see how this works soon =)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jaime, Had someone give me some help in understanding this and how to implement it so getting ready to dive in. Can you advise whether I should expect this to work in Jira 7 or if it would require tweaking? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ethan, It should be fine. Areas of concern for jira 7 upgrades are listed here: https://scriptrunner.adaptavist.com/latest/jira/releases/release-4.1.4.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kristian,
Hope you've been well also!
The URL field always contains the TinyURL from a Confluence page that is related to issues in both projects. An example: https://thedock.camerican.com/x/MgCyBQ
FYI - I opened a ServiceDesk ticket for this also with Jaime. Don't want you to duplicate any efforts!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ethan,
I hope you are well.
Could I please ask for some further info on your question so that we can look to provide you with the correct solution.
Many Thanks
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough [Adaptavist] @Jamie Echlin [Adaptavist],
Can you offer guidance on how to accomplish this? I'm not a programmer so this is a little overwhelming for me...
Any help greatly appreciated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anybody out there interested in configuring this for me? Happy to pay a reasonable amount, I don't think it should be that difficult...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not possible with just the Automation Add-On.
The only idea that I could come up with is to make the automation trigger a special even that will call a webhook to add a comment on the other issue.
-- Pedro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Pedro.
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.