Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

PostFunction to update EpicLink Status based on the current status of the EpicLink

Edited

Objective:

  • When transitioning a Story to Status = In Progress
  • I want to update the status of the Epic Link to Blocked
  • If the Epic Link Current Status = Done
  • And if the Issue Previous Status = Done

Can JSU handle this in its JQL Precondition?

This query works accurately in the JQL search: 

issueFunction in epicsOf("key=fsd-6035") and status =  done

In the JQL Precondition, the FSD-6035 should be which ever issue key that is being transitioned

 

I tried both of the following with no luck.

  • JQL Expression: issueFunction in epicsOf("{issue.Issue Key}") and status = done
  • JQL Expression: issueFunction in epicsOf("key={issue.Issue Key}") and status = done           

jql precondition.png

Any thoughts on how to achieve my goal using JSU or other standard JIRA functions?

 

2 answers

0 votes
JD I'm New Here Dec 02, 2021

It works with issueFunction in epicsOf("key={issue.key}") and status = done

0 votes

Hello Christina,

I understand that you would like to transition the related Epic to Blocked WHEN ANY related story is transferred from Done to IN PROGRESS if the Epic previous status was DONE. Is it correct?

I believe that you are not able to implement issueFunctions directly in JSU post functions, however, your need can be easily implemented by using Automation for JIRA with the following rule:

Screen Shot 2019-07-26 at 18.48.19.png

This add-on has 300 free executions per month. Please, let me know if this option helps.

Suggest an answer

Log in or Sign up to answer
TAGS

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