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.