Forums

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

New export functionnality in Issue Navigator

Luc O. July 25, 2019

I'm fairly new to ScriptRunner and I'm trying to add new Export functionality to the JIRA Issue Navigator.  From what I understand and was able to find with my friend Google, it isn't possible to add a new option to the export menu on the Issue Navigator form using ScriptRunner.  Is this correct?

So I've used the Custom web item instead and added a button to the jira.navigator.pluggable.items section.  Now I would like to get the JQL query that was entered on the Issue Navigator screen and run the JQL in a REST Endpoint.  I know how to run the JQL query in Groovy, I just don't know how to get the JQL from the screen.

An even better solution would be to simply get the current issues from the Issue Navigator screen and simply export those via the REST Endpoint.

Any help/advice would be greatly appreciated!  Thanks in advance for your help and time!

JIRA Version: 7.6.2

Adaptavist Scriptrunner for JIRA Version: 5.3.26

1 answer

0 votes
Yury Lubanets
Contributor
August 8, 2019

Hello

I'm not sure but I think you need using 'Install web resource' with custom JS script which will get JQL query and pass it to the REST endpoint.

Suggest an answer

Log in or Sign up to answer