Forums

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

Update workflow when editing a custom field

Benjamin Gill September 11, 2018

We use a project in JIRA to track time off requests.  We have two custom fields as part of the form:

Start Date of Vacation

Last Date of Vacation

 

Occasionally, after the request is approved, these dates are changed/updated.  Is it possible to have the JIRA ticket start the workflow over if one or both of these custom fields are updated?

1 answer

1 accepted

1 vote
Answer accepted
Reto Gehring [Valiantys]
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.
September 11, 2018

Hi Benjamin, you could remove the two date fields from the edit operation screen and have them only on the create and view operation screen.

Then you add a transition to the initial status called  e.g. change date. To this transition you add a transition screen, which contains the two date fields.

That should do the job.

 

Reto

Benjamin Gill September 11, 2018

Hi Reto,

 

That sounds like a really great option.  I am going to give that a try.

 

Thank you!!

Benjamin Gill September 13, 2018

Hi Reto,

 

I implemented the above and the solution does solve what I was initially trying to do.  However, it did present an issue.  We have this workflow locked down so only a specific group of approvers can transition these requests.

 

Do you know if it is possible to allow only 1 transition on a workflow to be opened up to everyone while locking the rest down?

I think my only other option, would be to have users close the request and submit a new one with the updated dates.

 

Thanks

Reto Gehring [Valiantys]
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.
September 13, 2018

Yes you could give the transition permission to everyone in the project and then set a condition on each transition, except the one for changing the date. The condition would be, user must be in a specific role/group to do the transition or something similar... Check the condition tab on the transition and choose add condition and you will se the one I'm talking about.

Reto 

Suggest an answer

Log in or Sign up to answer