Unable to set the priority for the bug

3 views
Skip to first unread message

Jagadeesan

unread,
Jan 6, 2012, 2:38:41 PM1/6/12
to bite-discuss
Hi ,

Unable to set the priority for bug , but i can view priority in bug
view . Is it supported in 2.0.1.10 version ?

Cheers ,
Jagadeesan.M

Jason Stredwick

unread,
Jan 6, 2012, 2:42:05 PM1/6/12
to bite-discuss
Yes, you can not set the priority, or at least I could not find
anywhere in the extension interface where the priority can being set.
This has nothing to do with my changes. If you find where in the
interface you can change the priority I will hook it in to the updates
to the bug details. Otherwise, in the future I will add in a way to
make that change.

Jagadeesan

unread,
Jan 8, 2012, 11:24:52 AM1/8/12
to bite-discuss
Hi ,

Unable to find priority interface module ,but i can able to see
priority parameter in server modules ( even it takes priority value as
null ).

Kindly correct me , if i am wrong .


Note :

current_user = users.get_current_user()
user_name = current_user.nickname()
project = self.GetRequiredParameter('project')
provider = self.GetRequiredParameter('provider')
screenshot_link = ''
screenshot = self.GetOptionalParameter('screenshot', None)
title = self.GetRequiredParameter('title')
url = self.GetOptionalParameter('url', '')
summary = self.GetOptionalParameter('repro', '')
expected = self.GetOptionalParameter('expected', '')
result = self.GetOptionalParameter('result', '')
url = self.GetRequiredParameter('url')
cycle_id = self.GetRequiredParameter('test_cycle')

bug_id = ''
priority = ''
details_link = ''
report_date = str(datetime.datetime.now())
target_element = self.GetOptionalParameter('target_element', '')
recording_link = self.GetOptionalParameter('recording_link', '')
urls = [(url, url_bug_map.UrlPosition.MAIN)]
priority = ''
status = 'unconfirmed'

Cheers,
Jagadeesan.M

Jason Stredwick

unread,
Jan 8, 2012, 3:33:56 PM1/8/12
to bite-discuss
Yes, priority is a parameter in the bug model. It is provided to the
extension when bug data is sent to the extension and it is displayed
in some of the bug interfaces. However, I believe in the extension
there is no way to change the priority. For example, if you want to
change the state of a bug you can go to the bug console and click a
bug to bring up the mini-bug popup. From the popup, there should be
actions: resolve, not a bug, cancel. These bring up other options
when clicked that allows you to change the actual values for the bug
status. Unlike status, I do not know of any way to change the
priority from the bugs console. I believe this is a feature that
needs to be added.

Jason Stredwick

unread,
Jan 8, 2012, 5:42:52 PM1/8/12
to bite-discuss
I will add one more piece of information as well. If you look at
report_bug.py (the original method of creating and updating bugs
v1.0.0.0) you will see that there is only three things that were
updated: status, binding, and recording. I am not sure how the
recording one worked.

http://code.google.com/p/bite-project/source/browse/server/handlers/report_bug.py

Jason
Reply all
Reply to author
Forward
0 new messages