Comments
-
Hi, I am from Forgappify team. To make dates comparison easier, we developed wizzard-like Dates Compare Validator / Condition. You can compare two date fields, including both date and date & time fields. You have the option to choose whether to include the time part in the comparison, and the fields are automatically…
-
Hi @Annapurna Banka Recently, a new workflow editor has been rolled out, which has a different set of validators, similar to the team-managed projects. There is an option to switch back to the old edior. Is it that the case?
-
Hi @Yousuf Al Rawahi I believe that in the case of a Paragraph (Rich Text) in expression, an empty value is represented as null. Cheers
-
Hi @Sascha Kuntz If you are open to using apps and looking for a ready-to-use solution. We've developed the Linked Issues Validator available as part of the Workflow Building Blocks for Jira app. Blocking an epic transition is quite simple in it: Additionally, you can filter which child types should be checked or require…
-
If you prefer a wizzard-like solution, you could try Linked Issues Validator, which is part of the Workflow Building Blocks for Jira. It solves the described case; you only need to select the "is blocked by" link type and check the "At least one linked issue, as defined above, must exist" option. Full disclosure: I am from…
-
Hi @David Plesu I am from Forgappify, and we developed the Linked Issues Validator, which has a wizard that can help you build such expressions. After selecting relevant options, you will find below a Jira expression preview, which you can copy and modify further. So in your case, you need to basically add a filter clause…
-
Hi @Yousuf Al Rawahi In Jira out of the box, it won't be possible. But it should be quite easy using any 3rd party Jira expression-based validator / condition (assuming you are using company managed project) The expression will depend on the type of your custom field. If it is a User Picker, then it should be…
-
Hi @Anette Noll It should be pretty simple in any jira expression-based validator. If either field A or B must be not empty: issue.customfield_10004 != null || issue.customfield_10005 != null Change ID to correct ones for your Jira instance. I am from Forgappify, and we developed Jira Expression Validator, which is part…
-
Hi @Gérald Colangelo I am afraid that the only option for cloud (and if you use company managed project) is to add 3rd party validator to Create transition. I am from Forgappify and we have Jira Expression Validator, which is part of the Workflow Building Blocks for Jira free app. For example, if you want only users with…
-
If you don't have scripting experience and prefer wizzard-like validator/condition, take a look at Linked Issues Validator which is part of the free Workflow Building Blocks for Jira app. 1. Add validator to the transition 2. Set Relation to Sub-tasks 3. In Status category: select Done This validator comes with a default…
-
Hi @Deon Schaffer It would be possible to achieve using Jira Expression Validator, which is part of the free Workflow Building Blocks for Jira app. The expression would be as follows: issue.customfield_A?.value == 'Yes' ? issue.customfield_B != null && issue.customfield_C != null : true…
-
Using Jira Expression Validator, you can write following expression: let lastCommentIndex = issue.comments.length -1; issue.comments[lastCommentIndex].body.plainText.includes('https') or even using regex for urls let lastCommentIndex = issue.comments.length -1; let linkReqex =…
-
Original Estimate field is stored as a number of seconds. Therefore in your case 4h = 4x60x60 = 14400 If you only need a condition, then you can use Value Field condition configured as: Value: 14400 Comparison Type: Number If you require a validator, consider using a Jira expression-based validator. There are several…
-
Hi, validators are executed during transitions, therefore only future changes will be validated
-
I am glad, I could help :)
-
Hi Dan, assuming that you have separate workflow for sub-tasks, it should be similar to: issue.parent.customfield_xxxxx == "SAP" It depends what kind of field is your org.group field. If it is a Select, then it would be like: issue.parent.customfield_xxxxx?.value == "SAP" It's up to you to find out the id and type of your…
-
Hi, Jira expression needed would be like below: let linkedIssues = issue.links .map(link => link.linkedIssue) .filter(issue => issue.issueType.id == 10004); linkedIssues.length >= 1 where 10004 is ID of the issue type, you need to find it for your instance. To simplify such cases, we've developed the Linked Issues…
-
If you require that the link must be of issue type: "Task" and status "Done", then: issue.links .filter(l => l.type.inward == '<span>To be done with</span>') .every(l => l.linkedIssue.status.name == 'Done' && l.linkedIssue.issueType.name == "Task" ) If you want to check only the status of links with the issue type: "Task",…
-
Following Jira expression should allow transition if the linked issue (link: "To be done with" has issue type: "Task" and is in status category: "Done" issue.links .filter(link => link.type.name == "To be done with" && link.direction == 'inward') .map(link => link.linkedIssue) .filter(issue => issue.issueType.name ==…
-
I don't use script runner, but in case of validators, there are slightly different context variables available. "Issues" during transition is not available, try issue.subtasks or other properties of issue. What do you want to check exactly?
-
I am not sure what tool you are using, but the error message suggests that this is indeed a Jira expression. Then, you will need an else clause and probably return statements inside However, assuming that TotPoints may differ, I would rewrite it to the following: let TotPoints = 0; issue.customfield_11667 != null ?…