It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to show all field types from issues

Fabian Toth Jul 14, 2013

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

0 votes
Bhushan Nagaraj Jul 14, 2013

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

Fabian Toth Jul 14, 2013

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!

0 votes
Mladen B Sep 09, 2013

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,449 views 6 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you