Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting a date via the workflow.

Deleted user November 8, 2018

This is follow-up question to a previously asked question: How-to-add-populate-and-sync-a-custom-field-to-a-running-project

We use JIRA Software Server 7.10.0 

A customer decided they wanted a STATE_DATE field that would be filled in when we did our CSV import. STATE DATE showed the date a STATUS field was last set in the MS Access database.

We added STATE DATE to Production and a week later got an email from the Customer saying they changed a workflow STATUS setting but STATE DATE did not update.  I already knew this and figured they could just update STATE DATE when they did a workflow state change.

Is there anyway to update a custom date field automatically when a workflow status is changed?

I've looked at Post Functions, Triggers, Plugins, creating my own plugin and even thought about conscripting the Due Date field and filling it with state date data in the false hope that  something somewhere would allow me to update Due Date as needed.

Any help will be very much appreciated.    "Nope, you can't do it," is an acceptable answer.

Jim

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 8, 2018

Hello,

You could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could add a post function like this:

#{STATE DATE} = currentDate();

You can find more info about post functions here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows

Deleted user November 9, 2018

Hi Alex,

Where I work, getting a plugin takes at minimum of 6 months.  I'll definitely read

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows

and try

 #{STATE DATE} = currentDate();

Though I had hoped there might be a non-plugin solution.

Thank you for your help.

Jim

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events