Update field if code has been commited to bitbucket
Hi Fidel,
I want to update a Jira when commits exist in bit bucket
I am using "Update parameters of the Write field on issues returned by JQL query Function for this transition".
With the following query, which should update current ticket if commits exist // issuekey = "%{00015}" and issue.property[development].prs > 0
It works fins when I use the search in the standard jira serach but doesnt seem to be working in the workflow transition.
Any ideas why not, or how I could update the field another way?
Regards,
Ian
Comments (4)
-
repo owner -
reporter Hey Fidel,
Thanks so much, that works perfectly now!
When is 2.2.14 going to be released in Production?
Thanks for sorting this so quickly. :-)
Ian
-
repo owner Version 2.2.14 will be released at the end of July. Anyway you can implement the same behavior using "Copy a parsed text to a field" post-function with current version of the plugin.
Use the following configuration:
- Target field: field you want to update
- Parsing mode: basic
- Text to be parsed: field code or text composition for the source value
- Conditional execution:
count(issuesFromJQL("issuekey = " + %{00015} + " and issue.property[development].prs > 0")) = 1
-
repo owner - changed status to resolved
Fixed in just released version 2.2.14.
- Log in to comment
Hi Ian,
The problem you are experiencing is not related with issue properties, but with the fact that you are updating current issue from a post-function that usually is used for updating other issues. This is actually a bug, and I have fixed it in version 2.2.14_beta_1.
Please, let me know if it solves your problem.