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,559,293
Community Members
 
Community Events
184
Community Groups

JQL query for Labels and Schdueled ReleaseDate

I need a query for pull data from JIRA based on lable created date and Schduled releaseed date feild

I am using useing JIRA 6.4

 

Thanks in Advance

1 comment

Rachel Wright
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, 2017

 

Hi Sunil,

I checked the labels table in the database, and the label creation date isn't there.  The date the label was added to an issue might be accessible, as part of the change history, but you'd need to query the database to get that.  I can't tell from your question if you're looking for a db query or JQL (JIRA Query Language), but I'll assume JQL for now.

Instead of label date, here's how you'd query for a label and for a value in a custom field called "Scheduled Release Date":

labels = maintenance and "Scheduled Release Date" >= "2017-01-01"

You can also do things like :

labels in (maintenance, upgrade)
"Scheduled Release Date" >= startOfYear()

More on all the cool things you can do with JQL is found here: https://confluence.atlassian.com/jirasoftwareserver071/advanced-searching-800707146.html  (For your version, 6.4, see: https://confluence.atlassian.com/jira064/advanced-searching-720416661.html)

One more thing:  When doing a "not" search with the label field, also consider issues with no label.  For example, to be inclusive, the query:  

labels = maintenance

should instead be:

labels != maintenance and labels is not empty

Hope this helps,

Rachel Wright

Thanks Rachel it worked

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events