Our need is that when we link an issue to a closed one, we want the closed issue to be reopened.
I tried to do this with adding a custom script to the transition however even if I add the script after "Re-index an issue to keep indexes in sync with the database." step, it did not work.
Also another solution I tried was adding a "Link Date" and compare it with the resolution date but I don't think it is possible to compare different custom fields of different issues.
Any ideas would be appreciated.
To keep it simple:
Ff it's not in a closed state, the transition wont be valid so it'll just fail and not do anything. Closed issues will reopen
Thanks for your answer.
My question is that, wouldn't the listener open all the issues that are closed and have links? How will I differentiate the ones that are linked after it was closed?
I thought about this issue a lot so I can be missing very obvious points here, sorry for that if so :)
I did some research and understood how the listeners work now so you can ignore my first question. Thanks for the advice. Can I ask, is there an event for link issues? Because as I can see there is not. I found this question:
Looking forward to your answer. Thanks again.
The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events