Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Resta de tiempos

Buen día comunidad de JIRA, Solicito su apoyo ya que tengo 2 campos de fecha que se restan entre si mediante una automatización, y depositan este resultado en el campo de otro issue pero no puedo hacer ser que la resta solo sea entre días y horas laborales tienen alguna sugerencia ?  

1 answer

1 accepted

0 votes
Answer accepted

Hi @daniel tobon  -- Welcome to the Atlassian Community!

For a question like this, please consider posting an image of your rule.  That may provide context for the community to offer suggestions.  Thanks!

From what I understand, you want to measure the difference between two date fields.  I am unclear if you want the result in days, hours, or days and hours.  Would you please clarify?

When performing a date difference in automation, the resulting units can be selected: https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/

However, please note that your fields could be date or date/time types, and so that may be impacting your results.


Best regards,

Bill

Hola @Bill Sheboy , agrego imágenes y el tiempo debe ser en Días pero solo hábiles digamos hacer una excepción   sábado y domingoRegla 1.jpgRegla 2.jpg

Thanks for that information.  I believe business days is one of the possible values for units with date diff:

{{issue.created.diff(issue.updated).businessDays}}

Have you tried that one?  If you did, were there any errors in the audit log?

@Bill Sheboy  a un no lo pruebo de esa manera, yo acabo de ingresar a la instancia y persona que le daba mantenimiento a si lo dejo estoy buscando la manera de mejorarlo 

@Bill Sheboy  muchas gracias por la ayuda logre obtener los valores necesarios solo de días hábiles, si requiero actualizar este dato en Issues anteriores existe alguna mane de hacerlo de manera masiva ?   

son aproximadamente unos 560 Ticket´s 

Greetings!

Given your calculation is in a rule, you cannot use the built-in bulk edit features of Jira to change the existing issues.

You could create a one-time-use automation rule, which checks for the custom field being empty with JQL, and then updates as needed.  JQL in automation rules can only return 100 issues at a time, so you may need to run the rule multiple times to achieve your result.

When done, you could disable or delete that rule.

@Bill Sheboy  agradezco tu apoyo. muchas gracias.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

243 views 7 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you