Forums

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

Project Keys

Beth Pettit
March 29, 2021

Can a single Jira project have numerous keys? 

I'd like to organize my Program, which is comprised of many lines of effort, using built in Initiative, Epic, Task hierarchy. Ideally, I would like to assign a different key to the issue type rather than the project to differentiate between work. (We are currently hard-coding change of naming convention on issue types, i.e. New Feature --> custom name 

We are managing customer facing requests in Jira Service Desk and we are standing-up a hierarchy to manage components of the program. I want to differentiate between these two without have numerous projects in Jira. How do I do this? 

2 answers

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [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.
April 4, 2012

eq cannot be used with text fields. Use like. But be aware that it is equilent to "contains" in JQL. So the results will have everything matching to the text you passed.

0 votes
Pascal Müller
April 4, 2012

Ok, it's obviously not possible to compare two strings like this.

jql.where().project(projectkey).and().customField(cfkey).eq(uid).buildQuery;

So, the way to go is to use "like" instead

jql.where().project(projectkey).and().customField(cfkey).like(uid).buildQuery;

I think this could be a quite common mistake? For me, my understanding of "like" in a not facebook but a String context is usually: "Meier" == "Meyer" => true

Suggest an answer

Log in or Sign up to answer