You should add "Validation on linked issues" validator to the screen transition with a configuration like the following one:
Filtering by field values: leave it empty
That did the trick! For extra credit, I even added a message for them to add an issue.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to link an issue type by entering the ticket number and it's not allowing me to move to the next screen. Within my Validator, I have the Issue types for linked issues set to Bugs and Test so in theory, as long as the issue type is either one of those, I should be able to link it, correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, I played around with additional settings and I was able to link the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Linked issues not working. (see use case below)
Current settings are wide open.
Filtering by field values: leave it empty
Use Case:
I attempted to Pass Bug (issue type
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott,
Please, attach a screenshot of the validation's tab in your transition. I want to see the actual configuration of the validator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the formatting isn't the best so let me know if you need a specific setting narrowed in on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't have access to the document. I have asked for permission.
Anyway, you can add images to a post in Atlassian Answers, which I think it's the best way to post screenshots in this site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scott, it's very difficult to read your document in the screen of my laptop. I only need the screenshot of the validation's tab, i.e., the screen showing all the validations in the transition once you have saved the configuration of the validator. That screenshot is much smaller and shows the whole configuration of the validator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, that would make more sense. Here you go:
image2016-8-31 17:56:11.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scott,
With that configuration the validation will require at least 1 linked issue (any issue link type, any issue type, any status, any resolution) but linked issue must belong to the same project as current issue. I have tested that same configuration and I can confirm that it works as I have described.
If you link at least an issue to your current issue which belongs to the same project, the validator should allow you to execute the transition.
Some questions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scott, I would like to watch your screen while you test the validation. Can we share the screen through Skype? My Skype user is fidel100r.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please email me directly at scott.mcdonald@code42.com so we can work on screenshare. we don't allow skype here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Did you solve the question? I think I'm facing the same issue, I have a transition with the "Linked Issues" field in the screen, but the Link validation is always rejecting the action, although I properly fill the form. Could you share the solution of your problem if you solved it?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fernando,
I had a video conference with Scott. I don't remember the details, but there was nothing wrong with the plugin, but with the configuration and the behavior he was expecting.
Please, let me know the exact behavior you are expecting, specifying issue link types, issue types, statuses, and any other detail of the linked issues. Please, also attach a screenshot of the current configuration of your validator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fidel,
I was sure that the problem was that I was doing something wrong in the validator configuration and not a bug, the plugin is great! . I've already found the proper configuration and it works like a charm now. Thanks for your quick response!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Fidel -
I am using the 'Boolean validator with math, date-time or text-string terms' Validator since I couldn't get the Validation with LInked Issues working.
Scott
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott,
If you wish, post the boolean expression you are using, and I will give you an equivalent configuration for "Validation on linked issues".
Fidel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
count(filterByIssueType(linkedIssues("is tested by"), "Bug, Test")) > 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The following configuration of "Validation on linked issues" post-function is equivalent to a boolean validator with boolean expression
count(filterByIssueType(linkedIssues("is tested by"), "Bug, Test")) > 0
:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you provide me configuration for validation on linked issue for below given
usecase
Parent Bug can only be closed if all the child issues are closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Juby,
Assuming that when you say child issue you mean sub-tasks, you can use "Validation on subtasks" with the following configuration:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having an issue with the below validation - can you please help?
Validation on linked issue:
At least 1 and no more than 1000 issue links with the following characteristics:
- Issue link types: Impacts or blocks.
- Linked issue's issue type: Artifact.
- Linked issue's status: Unit and / or Integration Testing, QA/UAT Support, New, Ready For Prod or Active.
- Linked issue's resolution: any
- Linked issue belongs to projects with keys: DA
About the rest of issue links:
- Unselected issue link types are allowed.
- Unselected issue types are not allowed.
- Unselected statuses are allowed.
- Links to issues in any other projects are allowed.
Message to show when validation fails: "A Testing Defect MUST be linked to a Deployable Artifact (either Impacts or Blocks) when transitioning from RCA to In Development".
The above always fails unless "Unselected issue types are allowed". Please note that I only want to allow Impacts or Blocks issue types.
Thank you for your help,
Bart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note that the below validation, on CREATE, on a different workflow works as I would expect - ie: the link type MUST be "Is a Deliverable of" and the issue type MUST be a "Higher Level Initiative".
Validation on linked issue:
At least 1 and no more than 1000 issue links with the following characteristics:
- Issue link types: Is a Deliverable of.
- Linked issue's issue type: Higher Level intitiative.
- Linked issue's status: Active.
- Linked issue's resolution: any
- Linked issue belongs to projects with keys: HLI
About the rest of issue links:
- Unselected issue link types are not allowed.
- Unselected issue types are not allowed.
- Unselected statuses are not allowed.
- Links to issues in any other projects are not allowed.
Message to show when validation fails: "When a BTD is created it must be linked to an Active HLI via the link type "Is a Deliverable of"".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bart,
I have some questions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks,
srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth,
If the validation is being satisfied when "Unselected issue types are allowed" is checked, and otherwise is failing, then the reason must be that you have at least one Impacts or blocks issue link to an issue that is not an Artifact.
Please, check carefully the issue links in the issue you are using for doing the testing, and tell me whether I'm right.
You can also try "Boolean condition with math, date-time or text-string terms" with the following boolean expression. It should work as you describe:
count(linkedIssues("Impacts, blocks")) > 0 AND count(linkedIssues("Impacts, blocks")) = count(filterByStatus(filterByIssueType(linkedIssues("Impacts, blocks"), "Artifact"), "Unit and / or Integration Testing, QA/UAT Support, New, Ready For Prod, Active"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good Morning Fidel,
I was unable to respond more than 2x in a 24 hour period so I was not able to answer your questions till now:
Regarding Unselected issue or link types, there are neither when the validation fails.
Thank you,
Bart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bart,
I don't understand why it's failing. "Validation on linked issues" is a much tested feature, and there isn't known bugs since very long. I think that there is some kind of misunderstanding.
I would like to have a screen-share with you in order to see the failure in direct. If it's possible, contact me privately at fidel@workflowarts.com.
Have you tried the boolean validator?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fidel,
I will contact you via the email provided. Please note that we did try the boolean validator; while it worked for the issue type and link types required, it did allow other issue and link types.
Best Regards,
Bart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your configuration of "Validation on linked issues" you have:
- Unselected issue link types are allowed.
That parameter is used to keep the rest of issue link types unrestricted.
The boolean expression that restricts other issue link types is:
count(linkedIssues()) > 0 AND count(linkedIssues()) = count(filterByStatus(filterByIssueType(linkedIssues("Impacts, blocks"), "Artifact"), "Unit and / or Integration Testing, QA/UAT Support, New, Ready For Prod, Active"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fidel,
Per our discussion, and based on your assistance, we have implemented the below which successfully solves for our situation.
Thank you again for your help!
Validation on linked issue:
At least 1 and no more than 1000 issue links with the following characteristics:
- Issue link types: Impacts or blocks.
- Linked issue's issue type: Artifact.
- Linked issue's status: any
- Linked issue's resolution: any
- Linked issue belongs to projects with keys: DA
About the rest of issue links:
- Unselected issue link types are allowed.
- Unselected issue types are not allowed.
- Links to issues in any other projects are allowed.
Message to show when validation fails: ""A Testing Defect MUST be linked to a Deployable Artifact (either Impacts or Blocks) when transitioning from RCA to In Development".".
Validation on linked issue:
At least 0 and no more than 9999 issue links with the following characteristics:
- Issue link types: has Epic, Impacts or blocks.
- Linked issue's issue type: any
- Linked issue's status: any
- Linked issue's resolution: any
- Linked issue belongs to any project.
About the rest of issue links:
- Unselected issue link types are not allowed.
Message to show when validation fails: "The only issue link types allowed are "Impacts" and "blocks".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bart for posting the working configuration. The problem you were having was that you were not considering Epic Link in your validation. Links to/from epic issues are represented by "has Epic" and "is Epic of" issue link types.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott,
Do you want the user to create at least an issue link when transitioning an issue?
Are you interested in require a specific issue link type and/or issue type of the linked issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello -
I have added the Linked Issue field to the transition screen and want to make that field required so they can add an linked issue..The use case is the expected behavior is the tester could not press the [Pass]button unless there was a linked test case.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.