You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
As title, recently I faced a problem which is needing to write a condition of checking linked issue's summary on " Create / Clone Issue(s) ". This is because I want the workflow is checking whether there is already a linked issue with same summary before creating linked issue. However, I stuck on writing this checking linked issue's summary condition. Could someone can help me on this? Thank you very much!
Thanks for your answer. However, this answer will only for checking all linked issues, but not issues in an Epic. I am actually looking for the condition which will check "issues in Epic" linked issues' summary. For "issue.stories", this will only return linked issues' ID not summary. Do you have any idea? Thank you very much!
There are a couple of steps in this.
First, you need to look for the summary in the linked issues - https://library.adaptavist.com/entity/copy-field-value-from-linked-issue is about copying values, but could easily be modified just to check.
Second, you'd need to do the blocking. This is going to be a problem for you though. A post-function is too late. To have a post-function check a value and stop you going further, you actually have to force a complete crash of the process, which can corrupt your data.
Instead, you should be doing this in a validator - these gracefully halt a transition. They return either "true - validation passed" or "false, validation failed, and here's an optional error message to give back to the user"