Hi Team!
I have a requirement and would like to know if it is possible through the post function with scriptrunner for jira cloud to update the status of a linked item in Project X when the status of the main item in Project Y is also updated.
Ex:
- When the status of the main item in Project X is updated
- post-executor script function also updates the linked item in Project Y
I found some solutions but they all have the script with import ComponentAccessor which is not available for Jira Cloud..
It would help me a lot if anyone knew of a solution similar to this.
Thanks for the help!
You can achieve your objective with a ScriptRunner script configured to execute when the issue in Project X transitions to a specific status. As long as you have a link from the issue in Project X to an issue in Project Y, you can also transition the associated issue to Project Y. Obviously, you need the ScripRunner add-on to create the script. To create a ScripRunner script, you must have programming skills to write Groovy scripts. You can do the same with Jira Automation if you cannot write Groovy scripts.
I can assist you with both, but we need to discuss specifics, or it will be a theoretical exercise.
I'm not sure if offering help to members is allowed on these forums. If it is not, the moderator must edit this post and remove my contact details.
@Ana Luiza Chagas you can contact me via email at ben@agiledigital.solutions, and I will assist you.
This solution is perfect for the need.
We have the scriptrunner add-on, but I would like to better understand how to create a Groovy scripts that performs this action.
I would be very grateful to receive your help! I also contacted you via email.
Thanks for the answer!
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.