If you need SQL you can use SQL for JIRA
select * from issues i where i.jql='updated < -15d'
Infact I want to create a shell script which will run first sql query and one by one comment in those jira id that "Last 15 days that id is not updated."
Therefore I want to run mysql query which will give me info of jira id which are not udpated since last 15 days.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. I assume you will be commenting via REST, as you can't do it with SQL. Ideally, you should probably be fetching the data with REST as well. (Or you could just use the script runner to do this and do the whole thing internally instead)
I also suspect your criteria are wrong. You probably need to exclude closed/resolved/ended/done issues from the updates at the very least, or you'll quickly end up with piles of issues with pointless comments on them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry, but that reads as you want to report on people who have not changed their name in the last 15 days?
That doesn't sound useful, could you explain what I have misunderstood?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Infact, I want to run a sql query in jira database, which will give me jira id number and name of person who has created that jira id and not updated last 15 days.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry, I still don't understand.
I understand that you want a Jira ID and the name of the person who created it. But I don't grasp how the 15 days criteria is attached to it. Do you mean the issue has not been updated in the last 15 days?
There is actually a problem with "creator" too - Jira allows a person to create an issue and name a different *reporter* to themselves, so you won't actually know who created it.
This also leads me to ask why you don't just use Jira to do it. The JQL "updated < -15d" will give you all the issues that haven't been updated, and when you look at the issue navigator, you get Issue ID and Reporter as columns by default.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.