- edited description
Linked Issues updates an issue field with the value from each of the linked issues.
I have a post function that checks for link issue(s) and updates a field in the current issue. When there is only one linked issue then the value in the issue field is correct. eg. Low.
If however there is more than one link that meets the condition then the value from each of the linked issues appears in the field. eg. Low, Medium
The attached print screen shows the original code and a possible fix. Is this the correct approach or is there a better way?
JIRA version 6.4.10
Comments (4)
-
reporter -
repo owner You can do it with a single post-function using "Copy a parsed text to a field" with the following configuration:
Text to be parsed in advanced mode is:
first(fieldValue(%{nnnnn}, filterByStatus(filterByIssueType(linkedIssues("is duplicated by, duplicates, is cloned by, clones, is blocked by, blocks, relates to"), "Task"), "Creating Change Control")))
Replacing nnnnn with the corresponding field code for "Risk Level" in your JIRA instance.
-
repo owner Hi Dan, did it work?
-
repo owner - changed status to resolved
I close the issue. Please, reopen it if you need further support.
- Log in to comment