need Redmine plugins - ruby-on-rails

I`m using Redmine for work in my company and I need some solutions (plugins) for:
Advanced email config (user must have ability to mail when status changes and when assigned user changes)
Fetch email and create ticket
When ticket is closed should automatically change work progress to 100% done and change due date

Fetch email and create ticket
Simple methods for fetching E-Mails an create Tickets direct included in Redmine.
http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails
when you need more options this plugin give you customer support, E-Mail notifications and many more.
http://www.redminecrm.com/projects/helpdesk

I think that the Stealth Mode plugin could be used to help satisfy your first requirement.
http://www.redmine.org/projects/redmine/wiki/PluginRedmineStealth
https://github.com/teleological/redmine-stealth-plugin
It requires the user performing the edit to remember to enable stealth mode first. (And they need to remember to disable it afterward!)

Related

How to restrict access to custom gerrit plugin

As part of Gerrit plugin development my requirement is to provide a "button" which should invoke certain operation on a Gerrit change but not all the Gerrit-user-groups should be able to see "that button" on the UI page. Only approved groups should be able to hit that button.
Any help would be appreciated! Thanks :)
I suggest to take a look at the sources of other plugins. For example, the Checks plugin, registers a custom Administrate Checkers permission (1, 2) and in (3) it checks whether a user has this permission granted for a change in that context (via the backend, like any other Gerrit ACL). The frontend (PolyGerrit) displays some options/buttons conditionally based on that permission in (4), but of course the backend should be authoritative for the check to perform the action.
Hope this helps a bit!
The example I gave is for PolyGerrit and should work for ~ 3.0 & upcoming 3.1.
Don't hesitate to get in touch via the mailing list in case you need some more help for specific questions.

How can we make a Work Item Creator automatically a Follower?

I am running Azure DevOps 2019 RC1 with an Inheritance Collection and a new Agile project.
I have a requirement that when a user creates a work item (task/issue), they must automatically be added as a follower of this work item. How can I achieve this? I have look in the rules for the work item under process customisation but it doesn't appear to be possible this way.
We are using the tickets to track issues. Whoever discovers the issue raises the ticket. The basic requirement is that anyone who raises a ticket should be automatically notified of its progress, even though they are not responsible for the development or testing.
Currently the work around is telling the user that when they create an issue they must click the Follow button, but it is easy for them to forget and then lose their updates. It seems like a very simple customisation so maybe I'm missing the obvious.
Thanks
I think you can't auto follow things currently, but you can add notification setting that will send automatically emails when work item is updated. To do this, go to Project Settings > Notifications page and create new subscription. Select "Work/A work item is changed" and put "Members of ... team by role" in Deliver to selection. Set roles to "Created by" and untick the "Skip initiator".
Your problem would be addressed precisely with the feature requested in the official Azure DevOps' feedback platform here:
479189 - Automatically follow work items I interact with
(That page also mentions workarounds, including per-team one answered here, and a per-person alternative. See this comment. The shortcoming of both is that they don't allow to you to unsubscribe for selected tickets.)

How to change the issue Type of an issue in JIRA via email?

I am working on an MVC application that is currently sending an email to JIRA and it is creating an issue. I am currently configuring all of the required fields and currently the issue being created has the issue Type set to bug as a default and also I think the priority set to minor.
I need to be able to change these two fields from the default as this application is used for clients that need to choose the correct issue and priority.
Currently I am using the TO, FROM, CC as the assignees, client and reporter. The summary and description are used by the subject and body respectively. This is why I don't know if it is actually possible to change these.
Can this actually be done, for example in the body "issueType" = "BUG", or "issueType":"Task"?
The application has the IssueType and Priority as dropdown list so could I append this to the body or maybe the subject of the email and send it. All code is working just need to know how/if I can set these two properties.
Update
I saw an example of this being used but I am unsure of how to implement this into an email form or if this can be done. And I am also using smtp gmail to send the information in my MVC application.
handler.params: project=XXOODD, issuetype=2
https://answers.atlassian.com/questions/39041/jira-creating-issues-and-comments-from-email
By default this cannot be done, but by using a couple of add-ons you can successfully get it to work:
https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue
https://marketplace.atlassian.com/plugins/com.javahollic.jira.jemh-ui

JIRA 4.1.1 disable user notification

We are running JIRA 4.1.1 and had an employee who moved elsewhere in the company. We still need his issues in JIRA so we can't completely removed him. Is there anyway to make it so he won't still receive emails/notifications?
I need a solution other than changing the email to an unused or invalid email address, because this will start eating up log space in JIRA
Thanks.
If he moved to another role, his tasks and responsibilities should have been taken over by someone else.
Make a bulk edit and assign that new user to the given issues.
With bulk edit, you can change reporter also.

Customizing redmine issue entry

Well, the powers that be would like Redmine to be aware of the data in one of our other systems so issues can be auto assigned to staff based on our business application's parcel id's.
Until now we had a call tracking system written from scratch. I'd like to bastardize Redmine since it comes so close to meeting all user requirements. I think if I get pointed in the right direction I can hook into Redmine some already written javascript and already existing webservices to pull the necessary data to display it on a Redmine ticket at the time of ticket creation. I know that Redmine is highly customizable, but I don't know where to begin. I already checked for existing plugins to do this and I found none.
Any help would be greatly appreciated.
I hope I understand what you want.
You can add custom_field or write a migration to add a new column to table issues and patch issue form (you can use redmine hooks http://www.redmine.org/projects/redmine/wiki/Hooks_List). I prefer second way because it does not depend on Redmine settings.
You should add in plugin a route and method into issues_controller. This action will get AJAX request with ParcelID from the view (issue form) and proxy it to external server. The response should be user email (I think only this info is common for users in Redmine and External server). The action should find appropriate user in Redmine and return user_id to the view.
Patch issue form: add new input Parcel ID and add JS code. JS code should send AJAX after ParcelID loses focus and setup Assignee if request returns user_id.
some notes:
I don't think that you will manage to communicate with external server directly (without controller) because Server can return own user_id or user_email but view will not manage to setup Assignee using this attributes.
I think it is necessary to care about performance because JS code will start at least two requests (View<->Redmine, Redmine<->External Server)
hope it helps you

Resources