How to show all field types from issues

Hi,

i would like to do the following task:

Lets imagine there are two different issue types -> TypeA and TypeB

In some issues of TypeA there is a field which contains id's from TypeB issues.

Now i want to reuquest all TypeB issues and the perspektive TypeA issues where the ID from the TypeB issue is in.

For Example:

TypeB_1 : TypeA_1, TypeA_4, TypeA_5

TypeB_2 : TypeA_4, TypeA_10

...

Can somebody help me with this?

Thanks & Greetz

2 answers

This widget could not be displayed.

Hi Fabian,

Here is a tutorial that shows you hwo to write a JQL plugin. You can use it to create your own function that does what you are looking for.

https://bitbucket.org/bhushan154/jira-jql-plugin-tutorial

Cheers

Bhushan

Hi Bhushan,

i have now created a empty plugin which can be successfully installed in jira. But i cant see how i can create the functionality i look for. I think i have to implement a iterative construct which runs a JQL query for evey issue from type b. But how can i start jql query within my java code?

Thanks a lot!

This widget could not be displayed.

Try reading these articles:

Usually, you'll use JqlQueryBuilder and SearchService to accomplish most of your searches in JIRA.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

601 views 26 15
Join discussion

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