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: 

Difference between type and issuetype in JQL

Jack Nolddor [Sweet Bananas]
Atlassian Partner
August 4, 2019

Someone can tell me the difference if any between type and issuetype field on JQL?
I have same question with key and issuekey fields..., are they different in any way?

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

8 votes
Answer accepted
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.
August 4, 2019

It's not well-documented, but there are a handful of "aliases" in Jira.  Key is an alias for issuekey, and type is an alias for issuetype.  You've spotted the two main ones!

The aliases can be clobbered - you can create custom fields with the same name which then become the first place Jira looks when you type in the alias, but I'd try to avoid doing that in every case, as it just confuses your humans.

Deleted user
October 4, 2019

"Your humans"

Like # people like this
2 votes
Matt Doar
Community Champion
June 19, 2020

I use "issue type" when I want to avoid confusion. Just like I say "Jira project" instead of "your company project".

To see all the aliases that exist go to /rest/api/2/field as an admin, and look at the clauseNames for each field.

I found the following aliases

[u'issuetype', u'type']
[u'remainingEstimate', u'timeestimate']
[u'updated', u'updatedDate']
[u'originalEstimate', u'timeoriginalestimate']
[u'id', u'issue', u'issuekey', u'key']
[u'created', u'createdDate']
[u'due', u'duedate']
[u'resolutiondate', u'resolved']

1 vote
Alexey Matveev
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.
August 4, 2019

Hello,

There is not difference.