Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Can you help me with the query to get the details where issuetype = A and issueLinkType = B 

 

Note: issuetype is used in multiple projects and issueLinkType is opened for multiple  issuetype

2 answers

0 votes
Jack Community Leader Jan 13, 2021

I think you need to provide more info. Based on what you have shared I would offer the following....

project = abc and type = A and issuelinktype = B

Hey @Jack the Issuetype=A and issuelinktype=B is globally configured and hence available on multiple project like project = abc and project = xyz and project = pqr. 

I wanna write a query around the keeping the Issuetype = A as primary key with relation to issuelinktype = B and get details from all the projects

issuetype = Story and issueLinkType = blocks

when write this , iv got the stories of all projects which linked by using "Blocks" to other stories.

Hey @Kagithala Babu Anvesh ,

The query mentioned by you will give a ticket with issuetype = Story who has a link relation issueLinkType = blocks.

However here I have a different query, issueLinkType = blocks is used for multiple issuetypes and I need the information for a particular issue type. 

Eg.

Key 1 has a IssueType= A with issueLinkType = B to IssueType= C

Key 2 has an IssueType = D with issueLinkType = B to IssueType= E

Now i need to get a query to find the status only for ssueType= A with issueLinkType = B to multiple IssueType's

0 votes
Daniel Ebers Community Leader Jan 14, 2021

Hi @Hubert Dsouza

which kind of deployment is your Jira? Server or Cloud?
Do you have additional Apps available (which could support this requirement)?
A shot in the dark without knowing what is available is always ScriptRunner:
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_issue_links

Regards,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS

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