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

Complex issue trying to get Due date to be set by Time to SLA plugin Edited

Okay so we have a request to have the due date field to be set by the Time to SLA plugin.

"I am trying to pull in and show the date when the SLA is set to expire on tickets - this value is seen in the ticket UI within the SLA module. I coul not find a field to pull in into my widget on a dashboard...
Pl see links below for example an let me know what field should I pull in...
This is NOT the "Due Date"..."

I have thought about using "Automation for Jira" to run a  scriptrunner script to do that.

When I pull the script from https://confluence.snapbytes.com/display/TTS/Groovy+scripts+for+TTS+fields and edit to have the correct field ID it still shows an error "static type checking errors". 

Am I trying to go about this the wrong way?

How can once I pull "expectedTargetDate" to get that into Due Date?

2 answers

Hey Daniel,

John from Automation for Jira here. 

I am not familiar with the 'Time to SLA' plugin. 

However, from what you describe this should be possible to do. 

Assuming there is an SLA time as a custom field somewhere, you would just need to use a rule like this:

  • Trigger: When field value changes for 'SLA_field'
  • Action: Edit Issue: Due date - copy from Trigger Issues or calculate. 

Screenshot at Sep 25 10-58-02.png

It's a bit tricky to decipher from her so if this doesn't answer your question, please pop a message through to our support team so we can look into this plugin a little closer. 

Thanks!

John 

Hi @Gaven Ray 

Did you have a chance to check this article.

To summarize, you can define SLA Dates custom field to extract any SLA date to a regular Jira custom field, then you can use that field in any of the report, gadget or integration API.

I hope I was clear.

Cheers

Tuncay Senturk

Thanks I will test this out. I had just put that field into place not long ago.

Hi again @Gaven Ray 

As the product manager of Time to SLA app, I just wanted to know whether the article was helpful for your issue.

For further assistance, you can always raise a support ticket here.

Thanks

So adjusting the settings as suggested and they now show up in the columns for search. If I could get it to edit the actual due date field it would be great. The automation does not see it as a date field. 

Hi @Gaven Ray 

Actually they are date fields, they implement DateTime interface.

The Automation plugin is not seeing it as a date field. @John McKiernan do you have any insight here or should I open a support ticket against your plugin.

What should we do in order to be seen in Automation plugin.

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

375 views 1 3
Join discussion

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