gioboa / jira-plugin

Jira plugin for VsCode
https://marketplace.visualstudio.com/items?itemName=gioboa.jira-plugin
MIT License
266 stars 41 forks source link

issue: can't set working issue #107

Closed RafeSafari closed 5 years ago

RafeSafari commented 5 years ago

I was trying to set the working issue from here: image

Encountered with message: image

I'm logged in, and the project IQEY is selected, also there are issues in IQEY project which are assigned to me: image

But no luck fetching the issues

gioboa commented 5 years ago

Hi, in 138 and 120 status is 'in progress'? If not, you can customize the working issue statuses in settings. :+1:

RafeSafari commented 5 years ago

I tried this from vsCode: image

and this through web: image

still the same info message! image

gioboa commented 5 years ago

The plugin perform this JQL for retrieving the issues. project = '${project}' AND status in (${statuses}) AND assignee in (${assignees}) ORDER BY status ASC, updated DESC If you perform this jql in Jira web application, have you got any result?

RafeSafari commented 5 years ago

thanks for the reply,

the following command wont return anything: project = 'IQEY' AND status in ("In Progress") AND assignee in ('rafe') ORDER BY status ASC, updated DESC also tried all other status enum values, and no luck.

However this command works like charm: project = 'IQEY' AND statusCategory in ("In Progress") AND assignee in ('rafe') ORDER BY status ASC, updated DESC

So, how should I change the JQL in vsCode plugin?

gioboa commented 5 years ago

At the moment there isn't possibility to change working issue JQL. You can customise statuses, assignees but not the fields. 😢 So in you environment there is difference from status and statusCategory. You can try by adding all statuses assigned to statusCategory 'In progress'.

RafeSafari commented 5 years ago

You can try by adding all statuses assigned to statusCategory 'In progress'.

Is there any tutorial web page to do the adding?

gioboa commented 5 years ago

here

You can find this setting in VsCode :+1:

RafeSafari commented 5 years ago

Added working issue status and it's working great! Closing... Thanks