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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I would like to have a parent project and when I add, update or delete a project component in that project (Call it "Project Master"), then all projects with a category of "ART Project" have the change applied to those projects also.
I can do this with versions, but cannot see how to do this with Components. I have ScriptRunner installed, but the Script Listeners do not appear to have events for Component. Does anyone have any ideas of how to do this without buying a plugin, either through ScriptRunner or automation?
I am running on Jira Cloud.
Thanks
Hi @Chris Hodgens ,
Thanks for posting your question here, I am Dhiren from the Exalate Team.
In this case I would recommend you to use a Bi-Directional integration solution like Exalate.
Exalate, provides a fully bi-directional synchronization between different projects on same or different Jira instances(Cloud, Server or even DC) that is fully customizable. It is easy to set up and Exalate uses a scripting engine which is based on Groovy scripts for ultimate flexibility and customization.
It's possible to even sync custom fields and fields like components for a next level deep ticket integration.
Do let me know if you have any questions or concerns.
Thanks, Dhiren
Welcome to the Atlassian Community!
Almost, it's Jira that does not have component events, not SR. SR can't respond to things that are not happening!
There are a couple of component synchroniser apps on the marketplace, and I'd actually recommend looking at them, because they do a bit more than just a sync.
To do it in SR, I would start with a quick look through https://library.adaptavist.com/search?library-content%5Bquery%5D=component&library-content%5BrefinementList%5D%5Bplatforms%5D%5B0%5D=cloud for some example code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I had a quick look and could not see anything relevant through the link.
If Jira does not have the component events, does that mean that it is not possible, or Jira does not expose the events and there is some lower level trick that needs to be done to register a listener and then link the code to the listener created? I can see examples how to do this on server versions, but not on cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could come up with a script using the REST APIs which runs on a periodical basis. This could then read all components and update all other components.
In order to properly update them, you'd need to maintain some sort of mapping so that you know which components belong to each other.
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.