Jira Google Sheets Plugin - how to handle spaces in JQL of JIRA() function

Edwin Meijer January 13, 2021

 I want to run this JQL query using a JIRA() function in a Google Sheet:

project=JEDI AND issuetype="technical task"


I have tried unsuccessfully:

JIRA("project=JEDI and issuetype=technical task", "story points", 0,100)
JIRA("project=JEDI and issuetype=\"technical task\"", "story points", 0,100)


Question: what is the grammar when you have spaces in the JQL ?

Note: the JIRA() function is able to handle spaces in column names like "story points"!

1 answer

1 accepted

0 votes
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 14, 2021

Hello @Edwin Meijer ,

In order to be able to use composed properties names (multiple words separated by spaces) in the =JIRA() function you have to surround them with single quotes as shown in below screenshot:

Google-Sheet-Functions.jpg

 

So, in your case:

=JIRA("project=JEDI AND issuetype='technical task'")

 

 

Cheers,
Dario

Edwin Meijer January 14, 2021

Awesome - thanks for the quick response

Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2021

You are very welcome @Edwin Meijer !

I will ask to have this documented in the page: Use Jira Cloud for Sheets 

 

Have a nice weekend! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events