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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

849 views 3 12
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