Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to clear a JMCF Transition Date/Time field upon a backwards transition

We are using the Transition Date/Time fields to gather when an issue was moved into each status. However, we want to be able to clear that field if the issue moves backwards in the workflow. 

Example/ Issue moves from Make Ready to Ready on 10/23. The Date in Ready field will say 10/23. On 10/24, we decide to move the issue back to Make Ready. Now Date in Make Ready is overridden to be 10/24. We want to remove the 10/23 from the Date in Ready field so when we collect metrics, we can recognize that the issue wasn't actually in Ready.

Have tried the Clear Issue Field post-function on the backwards transition and it has not worked. Does this post-function not work for JMCF fields?

1 answer

1 accepted

0 votes
Answer accepted

You cannot clear calculated fields, because their value is not stored but... calculated. If the transition happened, it happened, and triggering another transition won't change the past. 

For your use case, you can either create a standard date/time field and set it during the transition and clear it during the reverse transition (with the help of a post function such as the Set Field Value post function from our JMWE app), or you can create an additional Calculated Date/Time field that will return the transition date/time field value only if the issue status is Ready, and null if it isn't. 

very helpful, thank you!!

Suggest an answer

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

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,023 views 8 28
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