Gadget not working in JIRA6

Hello

I developed a custom filed called "MyComponent". In JIRA5 it was working fine, I upgraded the plugin to JIRA6. The PIE chart displays just fine, but when I click on sector of PIE chart the link is not working.

I created the PIE chart gadget in JIRA6 and when I click on it, the link shows like this and issues are not displayed:

http://localhost:8082/issues/?jql=project%20%3D%20PRJC%20AND%20MyComponent%20%3D%20%22Component1%20-%20C1SC2%22 - not working


This is the pie chart gadget I got from the backup I imported to JIRA6 and the link I get when I click on the section of the PIE chart and it works just fine.

http://localhost:8082/browse/PRJA-10?jql=project%20%3D%20PRJA%20AND%20MyComponent%20%3D%20%22Component2%20-%20C2SC1%22 - working

Any idea where to look for the issue. Please let me know.

Thanks

Abe

1 answer

This widget could not be displayed.
Timothy Chin Community Champion Jun 18, 2013

Does this work if you dump it in the JQL search box?

project = PRJC AND MyComponent = "Component1 - C1SC2"

No, it does not work if I dump it in the JQL box. But when I look at the issue I see MyComponent custom field with "Component1 - C1SC2" value.

I see results for PRJA and not for PRJC, exact same field. In JQL if I just enter

project = PRJC

I see all issues and I can click on MyComponent value "Component1 - C1SC2" and it displays all issues that has this value.

Timothy Chin Community Champion Jun 18, 2013

No, it does not work if I dump it in the JQL box.

I guess you will have to fix that first. You need to find out the right JQL that works for that. Other than that, give your JIRA a reindex to see if the search repopulates itself.

How can I make sure that display name I use for "MyComponent" matches internal representation of how JQL uses it in my plugin.. ( this was not an issue in JIRA5)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

300 views 1 4
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you