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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,659
Community Members
 
Community Events
176
Community Groups

Filter Issue Scope (IQL) base on current project

Hi,

I create an Insight Custom Field - when create issue it only show versions object of current jira project.

 

step:

1、create an empty Object Schema.

2、use plugin (Insight Jira and Bitbucket Integration) to import all jira info to this Object Schema

project object info

1.png

version object info

2.png

3、create an Insight Custom Field ,configure info

3.png

4、result: nothing in the Insight Custom Field

4.png

5、if change the Filter Issue Scope to an project,it work

5.png

6.png

 

Anyone can help,how to configure Filter Issue Scope(IQL) to query version object base on current project.

 

 

Reference documents:

 

 

 

2 answers

As a workaround you could use a script custom field that just holds

return issue.project.key

and use that in the Filter Issue Scope. 

But for the creation of the issue you still need the old Filter. So together it yould be:

Project."Id" = ${pid.id} OR Project."Key" = ${theCustomScriptField}

change the Filter Issue Scope,

Project."Id" = ${pid.id}

it work in create screen,but not work in edit screen.

Why?

I have exactly the same issue, Have you resolved it somehow?

We managed to resolve it on edit screen either:
We populated new Project type attribute for Project object type (Jira object from Jira import) and then IQL works on edit screen:
Project."Jira Project" = currentProject()

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events