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

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!

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
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