Comments
-
It doesn't happen when I use this feature. Because I am already logged in and using both products (jira and confluence). It seems you haven't started using confluence thus it's the first time you are logging in or creating some content. My suggestion to you is to create a sample page in your personal space in confluence…
-
Hi , I think the list of values returned by the custom field "Translations" can be sometimes null as well thus you should do the null check as well in order to avoid NPE if (cfValues['Translation(s)'] && cfValues['Translation(s)']*.value.contains("Vietnamese"))
-
where is it in the docs? can you share the link.
-
https://jsutil.atlassian.net/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Post-Functions
-
IN the docs it says - "If you use %%CURRENT_DATETIME%% as the custom field value (exactly this, nothing more), the current date and time will be set as value."
-
In the create transition, you can put a custom script in the "validation" phase of the transition. Script runner provides ability to write "Custom script validator" in the validation phase and in the validation phase you can check how man components the issue has, and if it has more than 1 component you can return false.
-
i need more sleep ;) cheers
-
hi when I use @, I get the following error. Warning: Couldn't read data from file "test.text", this makes an empty POST.
-
I can't find this option in the plugin post functions- Auto close all sub-tasks I am using jira 5.2.11 and ScriptRunner - 2.1.11
-
I can't find this option in the plugin post functions- Auto close all sub-tasks I am using jira 5.2.11 and ScriptRunner - 2.1.11
-
For future purpose --> You can make Important transitions to have a comment screen witth validation, so you have to enter a comment and thus become the participant.
-
Did my answer fix the problem?, if yes, please upvote/accept the answer. thanks.
-
You are getting the error for all projects as your condition is not right because you are checking the project name, in case there is any other project apart from "AN" then your statement will return false and thus the validation will fail.
-
Or in a single statement !(issue.projectObject.key == 'AN' && !issue.getFixVersions())
-
http://stackoverflow.com/questions/17256855/is-there-a-better-way-to-write-this-null-check-and-a-non-empty-check-in-groovy
-
Since issue.getFixVersion() returns a collection thus to check for null or empty simply fetching the value should be enough in groovy thus, try this if(issue.projectObject.key == 'AN') { if(issue.getFixVersions()) { return true; } return false;}return true;
-
Yes, you can get the parent object of the issue and easily transition it to open state in the post-function (but only do it after checking that the current issue is a sub-task if sub-task and parent share the same workflow) Here's the code in the answer, you need script runner installed.…
-
Each transition has a option to define a screen and on that screen you can put any fields you want. From new to open will be Transition A From Open to Fixed will be Transition B Thus 2 diff. transition and when you click on transition in jira, you can select a screen for that transition with the fields that you want.
-
No plugin needed. You can attach a PDF in JIRA and a Approve / Review Statuses in workflow. Once the someone whom you give permission to approve/review does the same then the workflow status would move to approve and thus it would mean that the PDF has been reviewed/Approved
-
If you are migrating both issueTypes to a new workflow then you would need to migrate both of them
-
Hi Jorge, Since the Botron tool doesn't work with your version of JIRA, thus I would suggest you to make your structureal changes first of test and then on prod only when the load is less, and do inform your users about the workflow changes as the workflow changes has an direct impact on the rapid boards/task boards so…
-
Did you cast it to (String) ? First cast it to string and then call the method contains()
-
cfValues is already available in workflow post-function and not in script console. I meant try to write contains function in the script console like def value = "Letters Address proof testing"value.contains("Letters") //and now in your post-function you can replace the value with the cfValues['Department'], it's only meant…
-
cfValues['Department']?.contains(<your text>)) You can try the code first in the "script console", script runner plugin in the admin section has a script console and in that you can try the code. In the admin section of the plugin, search for "script console" and try the code there
-
You said in your question that it's a text CF and not a list, the script you wrote is for a list of values and not a single text field.
-
Since department is a text custom field. Just fetch the value of it cfValues['Department '] and check if it contains "Letters – Address Proof " using contains() method. IN the post-function "send custom email" option then you can select - "Include attachments" - "ALL" to send all attachments or if you want to filter out…
-
If it works then please accept the answer. thanks.
-
project = "xyz" and created < startOfMonth(-4)
-
Do you want to migrate IssueType scheme, your description is pretty abstract so please elaborate
-
May be then you need to have a Field configuration specific to the issueType as it's currently the field configuration is for the whole project.