Comments
-
Please delete the script which we discussed before, you don't need to use any script, just use this condition - (cfValues['Global in nature?'] == 'Y' && cfValues['Target Project Name(s)'] != null) as part of the Simple script validator
-
were you able to fix it, as I still belive that it's (cfValues['Global in nature?'] == 'Y' && cfValues['Target Project Name(s)'] != null) and shouldn't be much trouble.
-
In this script - (cfValues['Global in nature?'] == 'Y' && cfValues['Target Project Name(s)'] != null) We clearly check only for value 'Y' and not for N, are you sure you don't have any extra validation checks in place or some extra script.
-
Has custom field equal to (cfValues['Global in nature?'] == 'Y' && cfValues['<span>Target Project Name(s)</span>'] != null)
-
Leave the script try this - Has custom field equal to (cfValues['Global in nature?'] == 'Y' && cfValues['Target Project Name(s)'] != null)
-
Isn't this the requirement? isn't this what you want, just use the code statement- invalidInputException = new InvalidInputException("Validation failure") instead of your stmt and it gives you an exception when validation fails. So it's working.
-
import com.opensymphony.workflow.InvalidInputException
-
import com.atlassian.jira.issue.MutableIssue; import com.atlassian.jira.issue.CustomFieldManager; import com.atlassian.jira.issue.fields.CustomField;
-
Didn't you do the import? You have to import the classes
-
DId you see the logs? what error is being shown? is the syntax of invalidInputException correct? Also you can try the code inside the adminstrative script panel
-
Hi, Did you read the link which I posted few comments back? https://jamieechlin.atlassian.net/wiki/display/GRV/Validators WHen I write in the code sample "invaliad exception object initialization" I mean to initialize the object! not to write it same stuff in english invalidInputException = new…
-
First and foremost, your "if statement" is Wrong, you are assigning a variable instead of checking, as you have used single = operator in the if statement. if(issue.getCustom.....("global in nature....") =='Y'){if(issue.getCustom....("target...") == null){invaliad exception object initialization}} First check is whether…
-
See this code snippet - CustomFieldManager customFieldManager = componentManager.getCustomFieldManager()String sourceCfId = "customfield_10030"String targetCfId = "customfield_10030"CustomField cfSource = customFieldManager.getCustomFieldObject(sourceCfId)CustomField cfTarget =…
-
Hi, Please elaborate on - " But after configuring this transition is not showing."
-
i would suggest to refrain from using JQuery to do the task at hand, as after jira upgrade the code becomes hard to maintain, instead put the validation in the validation phase of the workflow transition using the scriptRunner, "has custom field value equal to" -…
-
I have updated the script
-
In Script Runner plugin there is a built-in post function script called "Fast Track transition an issue" you can use that to transition an issue to open and configure a "condition" in groovy in that post-function that reporter belongs to a particular group import com.atlassian.jira.component.ComponentAccessordef…
-
WEB Hooks!!!
-
Then it seems the column doesn't have any issues, columns appear if they have any issues in them, thus if there are no issues column won't appear
-
Please make sure they have browse issue permissions for all the projects which the board contains.
-
Thanks for the answer Nic, I hope this data gets included in the user profile as at times it really helps to see the components whose lead is the user whose profile is being viewed. Since it's easy to access the project roles to which the user is mapped thus it makes sense to add a link for the component as well.
-
and here https://answers.atlassian.com/questions/170208
-
You can use a scripted field from the script runner plugin https://scriptrunner.adaptavist.com/4.3.1/jira/scripted-fields.html and calculate the time-spent on the stories some code example here (in 2nd answer) - https://answers.atlassian.com/questions/37533660
-
Thanks, I am now able to map orphan stories to new parents! Though from the UX point of view it would be really nice if drag and drop works for this feature.
-
As you have already stated about tabs, thats the only way to do it, you can't have multiple fields spread across different columns.
-
Cutomize the Screen scheme of the issueType and just put the custom field at the position you want in the screen scheme, you need to have JIRA admin rights to do so - https://confluence.atlassian.com/display/JIRA/Configuring+Fields+and+Screens
-
If you wish to update comfluence content with issue's description you can do a REST call in the post-function , this plugin might prove handy - https://marketplace.atlassian.com/plugins/org.swift.jira.acli
-
Can't you just use a JIRA Issue macro plugin in wiki and make it refresh after a certain time and the filter should fetch the issues from JIRA or do you want the confluence FAQ page to have the value of the issue description fetched dynamically?
-
Hi Bhushan, But does the plugin support 7.1.9 version of JIRA?
-
component not in ("a",b") and component is empty and project = "xyz" because "not in" is not the same as "is empty" thats how it's designed