discourse_jira_allowed_groups: Jira 플러그인 기능에 액세스할 수 있는 그룹을 선택하세요. 기본값은 관리자(admin)와 모더레이터(mods)입니다.
웹훅
Jira에서 들어오는 웹훅을 검증하기 위해 비밀 토큰을 설정하세요.
discourse_jira_webhook_token: 이 토큰은 웹훅의 ‘t’ 쿼리 매개변수로 전달되어야 합니다.
예를 들어, 웹훅 토큰이 supersecret이고 기본 Discourse URL이 discourse.example.com이라면, Jira 인스턴스의 웹훅 설정에서 웹훅 URL을 https://discourse.example.com/jira/issues/webhook?t=supersecret 으로 설정해야 합니다.
웹훅이 트리거되고 출력된 바디가 올바른지 확인하는 것만 원한다면, RequestBin이나 Webhook.site와 같은 외부 웹사이트를 사용하여 임시 웹훅 URL을 설정하는 것도 좋습니다.
디버깅
discourse_jira_verbose_log: 이 설정을 활성화하면 들어오는 웹훅과 나가는 API 요청의 페이로드를 로그에 기록합니다.
저희가 호스팅하고 계신가요? 이 플러그인은 저희의 엔터프라이즈 플랜에서 사용할 수 있습니다.
@vinothkannans we’ve noticed that our users cannot actually see the status of these tickets, that only admins can see them. Can anything be done to make the “status” more visible to users?
One option could be of course making that quote block visible, or it would also be nice if you could map Jira statuses to tags, and that the topic tag updated to reflect the ticket progress (#backlog, #in-progress, #complete, etc.).
To piggy back off of Jordan, I have some additional ideas to improve this plugin.
Ability to detach a JIRA ticket. I don’t see an option to detach or delete a JIRA ticket that I linked to a post.
Choose which groups can see attached JIRA tickets. Right now it only looks like site admins can see them, but we would like the option to select one or more additional groups that can see them.
Visibility levels. Ability to specify which part(s) of the ticket will appear to non-admins. For example, maybe we want all groups to see the ticket number and status, but not the title of the ticket, which may contain sensitive information. Then, we can specify trusted groups that can see the ticket title.
Hi, I have a question about configuring the plugin. I have been getting 500 errors when creating/ attaching issue so I think my settings are not entirely right. What did i do wrong?
First, I copied and pasted where I normally accessed my Jira instance into discourse jira url, although I am not completely certain about the URL since dependent on the selected Jira view the URL is different.
First, I set a random discourse jira username, with the discourse jira password copied and pasted from a generated Atlassian API token.
I copied the webhook token back into the URL in the Jira webhook setup, so it says https://example.com/jira/issues/webhook?t=abcdefghijk, and also your discourse_jira_url is supposed to be https://modernsquared.atlassian.net/ without the path.
@vinothkannans I have another question though: Is it possible to change which issue is attached to a topic after attaching, or simply remove/delete the attachment? If not, have you thought about implementing it?
Thanks @mikael.gundhus , I was able to get the plugin to connect to Jira.
But I ran into some oddity. I am not sure if I am the only one running into this issue, but the button Create and Attach issues seems to be reversed? When I click on the Create Issue button the plugin takes me to the attach issue screen:
And when I click on the Attach issue button the plugin takes me to the create issue screen: MS-155 is an existing issue in Jira. If I type in a new issue, say, MS-200, which doesn’t exist in Jira, it tells me An error occurred: You are not permitted to view the requested resource.
@mikael.gundhus yes, there should be an option to remove the existing attachment. @ckshen seems like it have wrong headings on modal windows. We will work on these in next iteration.
Are there plans to make this accessible to users who aren’t admins/mods? We have internal teams that are looking to move their operations to Discourse, and as it stands, the only way for them to use the JIra tool is by giving them site-wide moderation privileges.
I’ve just updated this plugin with Group permissions! It defaults to and must always include Admins, but with this update users can now make Jira tickets without needing to be Admin-level. Enjoy!
Thanks Natalie, after adding our host to the allowed internal hosts under Security, we were able to link and create issues. This probably is helpful to know for anyone using an internal instance of Jira. Still working on comment sync but I believe that is a config issue.