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

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 Leaders.
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.

Cristian Rosas [Tecnofor]
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 Leaders.
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 Leaders.
August 4, 2019

Hello,

There is not difference.

Suggest an answer

Log in or Sign up to answer