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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,439 views 2 7
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