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

Scriptrunner query

Issue type Enhancement" ,"User Story","Business Requirements") AND project = " Project A"

This is the current configuration for scripted field. However, If I Use the same JQL for different project, lets say Project B ,  even though I configure it using the context, it will show the requirements from Project A only. 

I wanted to use the same field and have it display requirements for Project B when the requirement's scripted field is used in Project B.

 

How do I make the JQL query  specific to a Project and still use the scripted field across multiple projects .

Issue type  in Enhancement" ,"User Story", "Business Requirements") AND project = " Project A","Project B" 

 

I want to reuse the requirements field across multiple projects. However I want to query to display only requirements pertaining to that project when I use the  requirements feild in a particular Project. 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 09, 2023

Are you talking about a "Issue Picker" built-in script field?

If so, use a behaviour script to change the JQL based on the current project.

TAGS
AUG Leaders

Atlassian Community Events