Hi! I want to show the story points for a story on the backlog. I have found how I can add a field, but this also adds an entire row making the backlog less comprehensible. I remember in the past there would be a grey circle with the amount of story points written in it at the end of each row of the backlog. How can I set that up?
Hi,
Sounds good Mizan, i'll take a look soon.
Nic, i'm agree with "The whole point of the API and the structure of the code in Jira is that it isolates you from the database"...But sometimes is really frustrating :(
I still been unable to do what i want programmatically without 3rd persons plugins :(
Anyway. i refuse to keep on trying this, i'll try something new using links. I'll make a new post beacouse i'll change the topic. Let's see if i can solve a link problem:
************
IssueLinkManager issueLinkManager = ComponentManager.getInstance().getIssueLinkManager();
try {
issueLinkManager.createIssueLink(event.getIssue().getId(), createResult.getIssue().getId(), 10040L, new Long(0), event.getRemoteUser());
}catch (CreateException e) {e.printStackTrace();}
************
"10040L" and "new Long(0)" are the required issueLinkTypeId and sequence fields. May you know how to get them? I'd tryed this just for test but is giving me a lot of problems.
Thanks both!
You can have a look at the Jira CLI plugin which provides a command to update existing issue ,examples
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's easy to change it in the database. The process is:
The whole point of the API and the structure of the code in Jira is that it isolates you from the database (and other system components) and you shouldn't need to think about it. Your listener is going in the right direction (because it's not touching the database), but the code doesn't look quite right to me, because you've only posted fragments of it. For example, your first block of code doesn't mention the issue at all, there's no mention of reindexing (which may be required), etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again,
As i can't change my issue fields...there's any way to access to JIRA database and change it there? If the answer is "yes" my next question must be..."how?". I've seen the JIRA API and i didn't find any connection to database class.
Regards.
Alberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.