Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ScriptRunner Cloud JQL aliases for Jira Cloud

alexmears
Contributor
September 23, 2018

Currently

Script runner Cloud has a search console that doesn't integrate with Jira JQL

search console.png

Issue

Individual search queries cannot be linked to, have boards created from them, bulk edited, and a number of other Jira functionality that we used day to day.

Question

1. How can I vote on having ScriptRunner Enhanced Search integrated into Jira Cloud JQL?

2. Is there a way on Jira Cloud (using Script Runner) to create JQL aliases / auto-populated fields that can then searched for using JQL?

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Mike Rathwell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 3, 2019

@Phillip Saindon , it seems that when one changes the field configuration name, it borks out the script. I do hope you have all the scripts somewhere as the fix is to simply put them back in.

Note also that Jira does allow duplicate field names so you could use precisely the same name if you needed to (and is part of the dumpster fire I inherited that I am still cleaning out). However, when testing here, found that simply putting the script back in the existing fields solved the problem

Phillip Saindon
September 3, 2019

Thanks to git, yes I have all my scripts saved off.  This is the issue, creating a brand new context does delete you embedded script (at least if you put it directly in the UI of jira, and not on a saved system file).

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 17, 2019

I'm late to the game here, sorry, but there are some quirks with scripted fields and contexts.  I've seen a bug (no idea if it was SR or Jira or a compound thing) where the searcher changed when you changed a scripted field context, which broke them in interesting ways. 

So I'd want to check searchers were correct, and then, second, which seemed to fix all the other problems I'd had, re-index everything (background, you don't need the full locking one)

TAGS
AUG Leaders

Atlassian Community Events