How do you access JQL plugin's parameters from an Xporter's export file.

I have developed a JQL plugin to retrieve a list of issues related to a particular issue key passed as parameter to plugin.

Then I am exporting all the issues hence retrieved to create a report with Xporter  plugin for JIRA.

Now, what I want to know is if there is a way to get the issue key passed as a parameter in Xporter template file.


5 answers

1 accepted


You can get the JQL query using this ${FilterJQL}, but this placeholder prints the query you are using to search issue. So, you need to do some manipulation in order to get the desired value. Javascript is the solution. Take a look here:


Did you create a new JQL function right? Are you exporting all issues retrieved by that function?


Yes, that's right 

You just need to user this ${Key} to get the Key printed on document.

But ${Key} is printing the issue key of that iteration in the Result list. What I am looking at is retrieving the key of the parameter passed to the plugin.

Probably, I can be clear with an example:

My JQL Plugin name: saitejPlugin(<issueKey>)

How i use 

issue in saitejPlugin("JIRA-123") and search. This retrieves a list of issues and I Export them using Xporter plugin. 

In the Xporter template, i am looking at retrieving details of JIRA-123

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

461 views 83 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you