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,459,112
Community Members
 
Community Events
176
Community Groups

How do I Refer to <Current Issue> in ScriptRunner's IssuePicker() JQL?

I have such a relation

       Initiative A (Issue Type)

               Feature A1 (Issue Type)

               Feature A2 (Issue Type)

               Feature A2 (Issue Type)

I have a IssuePicker() {multi-select} in Initiative to select Features

once a Feature is selected an IssueLink is Created in a Listener between the initiative and the feature.

I need the link to build a Structure in ALM Structure

 

Now to the Issue:

 

my features filter in the IssuePicker() selects All features with no Issue Link to initiatives (cause each feature can have only one initiative as parent)

 

Have a look at the Picture below

feature AS2-23 was successfully selected previously

and a link was created accordingly

now I try to Add  AS2-18

but the validation of the issuepicker() say AS2-23 is not good with the filter

which is true but wrong - case it is already connected to the "Current Initiative" which is correct.

 

So the solution is:

to say in the filter "Accept Features with IssueLinks to <The Current Issue>"

how do I refer to <Current Issue > in the filter?

 

or any other solution will do

10x

Avi

image.png

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events