receive the project-category name from a linked issue

Jan.broos October 23, 2024

Hi i like to receive the project-category name from a linked issue.

Something like :
category[issue.linkedissue.substringBefore("-")]

 

SO e.g. : MMSS-1378 the projectkey is MMSS. and i want to know the project category of this project-key.

 

regards Jan

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2024

Hello @Jan.broos 

Welcome to the Atlassian community.

That is not the project category. That is the project Key.

Can you provide more information about your use case?

What problem are you trying to solve?

What do you need to do with the information?

What issue activity would you want to trigger the collecting of that information?

Jan.broos October 23, 2024

Well.. i want the categorey-name belonging to a project. Where the project comes from the linked-issue.

So i have an issue (Example):
KKLL-1234 which has a linked issue called MMSS-1378.
i want to know the category of the project MMSS.

 

regards Jan

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2024

Hello @Jan.broos 

The Project Category for a project can be viewed on the View All Projects Page under the Projects menu.

Screenshot 2024-10-23 at 3.11.17 PM.png

Is that the information you want?

 

Can you answer these additional questions that I asked in my previous response?

Can you provide more information about your use case?

What problem are you trying to solve?

What do you need to do with the information?

What issue activity would you want to trigger the collecting of that information?

Jan.broos October 23, 2024

No that is not what i am looking for.
I want it in JQL.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2024

I understand that you don't want to get information manually by looking at that page.

What I am asking is if that is the information that you want to retrieve?

Can you also please answer the other questions that I've asked in my previous responses? I need those answers to formulate a suggestion for a solution that will meet your needs.

Jan.broos October 23, 2024

It is about JQL. So not reading a page.
I want to know what the category name is from the key-part of an issue. So if i have a look at your image.
I have an issue ACK-1234
the key part of this issue is ACK

So no i want to know what the categoryname is belonging to this key .

And all in JQL.

 

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2024

Hello @Jan.broos 

JQL (Jira Query Language) is the syntax used in Filters to retrieve issues. In the UI where you use JQL, such as the View All Issues screen, you get a list of issue and the data contained in those issues.

Information about the Project itself is not contained within the issues. You cannot get the Project Category by using JQL alone to retrieve issues.

 

If your starting point is an issue key (i.e. ACK-1234) methods that you can use to get the Project Category include:

 

Also, for clarity if you have issue ACK-1234 then:

"ACK" is the Project Key for the Project that contains the issue.

"Project Category 1" is the Project Category associated with the Project.

 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events