I am working on a project where we would like to be able to automatically sort the backlog items (and I don't mean filtering them). I have no experience in JQL scripts but I know a scrypt can be utilized to sort the backlog automatically (for example every 24 hours).
What we want to achieve is to sort the items based on priority (in the easiest scenario). If possible, we want to be able to sort things by more complex conditions and levels, i.e. firstly sort them by the release number, then within those releases sort them by epic links and further within those, sort them by their priority.
Anyone can help with that? 