Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JIRA] Unable to set working project #69

Open
bernd70 opened this issue Jan 8, 2025 · 4 comments
Open

[JIRA] Unable to set working project #69

bernd70 opened this issue Jan 8, 2025 · 4 comments
Assignees
Labels
bug Something isn't working cloud This is related to cloud products good first issue Good for newcomers JIRA This is related to JIRA triaged Someone from @atlassian/axon looked into this

Comments

@bernd70
Copy link

bernd70 commented Jan 8, 2025

I am not reporting this as a bug because most probably I am just doing something wrong.

I do set my working project but the Atlassian view shows the issues of all my projects. I did try on a folder level and in der workspace settings. The status bar shows "Jira: My Name:" as well instead of the project name.

"atlascode.jira.workingProject": {
    "key": "MYKEY"
}

The Key is the part of the Url I suppose: https://mysite.atlassian.net/jira/software/projects/MYKEY/boards/3.

Any help is appreciated!

Regards
Bernd

@bwieger-atlassian-com
Copy link
Collaborator

Hi @bernd70,

I want to make sure I understand what you are trying to accomplish:

As a user working in a given workspace, I would like to see JIRA issues specific to this code base (instead of all the JIRA issues I am assigned).

Is that right?

Also, I believe you got to this point via this UI, yes? (see screenshot)
Screenshot 2025-01-10 at 8 18 46 PM

I found the relevant commit that added this functionality https://bitbucket.org/atlassianlabs/atlascode/commits/d14777c5aee21b14cef3885ea235f1b786b6f349

@bwieger-atlassian-com bwieger-atlassian-com added bug Something isn't working good first issue Good for newcomers JIRA This is related to JIRA cloud This is related to cloud products labels Jan 11, 2025
@bernd70
Copy link
Author

bernd70 commented Jan 11, 2025

Hi @bwieger-atlassian-com,

thank you for your feedback. You are absolutely right, I would like to see only the issues related to my project. I do set the project Key in Workspace settings.json using the link in your screenshot.

Looking at the Source Code I realized that thers working project filter is applied to assignedOutline and openOutline. Actually these views are not visible in my Issue Explorer. So I created custom JQLs for my views but I have to add "... AND project = 'MYPROJ'" to every JQL to make it work.

But without adjusting every JQL I am not able to get it to work...

@bwieger-atlassian-com
Copy link
Collaborator

Nice find on the custom JQL!

I understand it is an imperfect workaround.

I'll chat with the team this week on the fix and get back to you.

@bwieger-atlassian-com bwieger-atlassian-com self-assigned this Jan 12, 2025
@bwieger-atlassian-com
Copy link
Collaborator

@bernd70

We talked as a team. We want to make this functionality much more accessible. Here's a bit of "napkin sketch" of what we are thinking. Does this feel wrong to you?

Screenshot 2025-01-14 at 10 45 08 AM

@bwieger-atlassian-com bwieger-atlassian-com added the triaged Someone from @atlassian/axon looked into this label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cloud This is related to cloud products good first issue Good for newcomers JIRA This is related to JIRA triaged Someone from @atlassian/axon looked into this
Projects
None yet
Development

No branches or pull requests

2 participants