How to get a List of Jira project name & mapped JEMH Keyword

We are required to maintain a list of Jira Project names with their mapped JEMH Keywords

This will enable to avoid using same JEMH Keyword for another project.

Else, believe Issues may not get created. 

Any clues, if sql querying, which table to look for or via groovy ?

Any advise appreciated.

1 answer

Hello,

If the Project Mapping Evaluation Strategy is set to firstMatchWins, each rule will be evaluated in their natural order (the same order they appear in the UI).

Setting the strategy to rulePriority would allow you to set the priority of each rule. This would allow you to influence which rule is chosen is such a scenario where both rules are found to be a match.

We can see there is room for improvement in this area. I have created an improvement ticket here: JEMH-5719.

Keyword rules are stored under the table "AO_78C957_PRJKYWRDMAP", which is related to the parent project mapping by the "AO_78C957_PROJCONFIG" table. Below is a SQL query (may need changing depending on your database):

SELECT "PROJECT_KEY","KEYWORDS"
  FROM "AO_78C957_PRJKYWRDMAP"
  INNER JOIN "AO_78C957_PROJCONFIG" ON "AO_78C957_PRJKYWRDMAP"."PROJECT_CONFIG_ID" = "AO_78C957_PROJCONFIG"."ID";

Hope this helps,

Mike

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot