Hi, community,
Maybe some of you have already had a similar task - need a script that moves issues with the type "defect" to the top of the backlog using ScriptRunner after creation (rankService).
One workflow that five projects use, there should be a ScriptRunner-based post-function at the issue creation step that will move all new defects to the top of the backlog. The script should only work for two projects out of five - "A" and "B", i.e., in the code should, be a specified JQL query (as I understand it).
I will be grateful for help if someone has already done such things. Unfortunately, the answers I found in the community didn't work - I need a working code.
Found similar question with answer. Maybe it will help you:
UPD.
But, after studying and checking, solution is not working. Needed class don't exist in my instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.