The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How do I select on project.projectTypeKey in Jira or Jira Cloud for Sheets?

Derek Boutang
Contributor
September 26, 2023

I'm pulling data from our Jira cloud instance and would like to filter my results to software project types only (i.e., not 'business' or 'service_desk').

Using Jira Cloud for Sheets, the following returns an error:

=jira("updated>=2023-09-01 AND project.projectTypeKey='software'"
, "Summary,issuekey"
,0
,10)

Error: "Field 'projectTypeKey' does not exist or you do not have permission to view it."

(I get the same error in Jira proper when I use a JQL search.)

BUT, the following returns happily:

=jira("updated>=2023-09-01"
, "Summary,issuekey,project.projectTypeKey"
,0
,10)

So I know it's not a permissions issue. 

Can someone help me with the syntax for this?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Alisa Zamaraeva
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 26, 2023

Hi @Derek Boutang 

Try using this: 

projectType = software

It worked for me in a JQL search. Hope this helps!

0 votes
Derek Boutang
Contributor
September 27, 2023

Yes, that worked for me. Thanks!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events