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.
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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs