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

Make start and end times as issue's custom fields #103

Closed
acosonic opened this issue Jun 10, 2022 · 3 comments
Closed

Make start and end times as issue's custom fields #103

acosonic opened this issue Jun 10, 2022 · 3 comments

Comments

@acosonic
Copy link

Because if they are visible custom fields, they will be added in email via

issue.visible_custom_field_values(user).each do |value|
      cf_value = show_value(value, false)
      next if cf_value.blank?

      if html
        items << content_tag('strong', "#{value.custom_field.name}: ") + cf_value
      else
        items << "#{value.custom_field.name}: #{cf_value}"
      end

from method email_issue_attributes in issues_helper.rb ....

@acosonic
Copy link
Author

currently they are not issue attributes, bur rather ticket_time.time_begin and ticket_time.time_end and cannot be added to email like other issue attributes or custom fields...

@berti92
Copy link
Owner

berti92 commented Jun 27, 2022

I agree with you. I highly welcome a PR :)

@berti92
Copy link
Owner

berti92 commented May 17, 2024

Closed, because no time to enhance this plug any further. PR is welcome, though

@berti92 berti92 closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants