Comments
-
Can you share the CSV header which you are using. Something similar - https://jira.atlassian.com/browse/JRA-45676 Here in JSON they have used just "type" instead of "project type"
-
The project type seems to be "Business projects" instead of just "Business" and "Software projects" instead of just "Software"
-
You can add rest calls to each GIT status transition which in turn would do a REST call in JIRA for the woorkflow transition.
-
It could be that the filter which was used as a source for the board has been deleted by the owner of the filter.
-
Just a hunch, in the method "addCustomFieldValue" instead of cf.id did you try, cf.getIdAsLong() , as your method expects "fullCustomFieldKey" -->> addCustomFieldValue(String fullCustomFieldKey, String... values) and I am not sure if cf.id returns full custom field key. thus better to use the method…
-
Hello Tom, Can you try this format for dateFormat SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy") This should give the same o/p while debugging - 20/Feb/17 and should do the trick
-
Currently it's not possible in out-of the box in JIRA. it might require some JavaScript hacks which isn't much desirable with JIRA. Please see the following tickets - https://answers.atlassian.com/questions/171004/how-do-you-add-a-column-to-issues-in-epic-panel How do I customize the "Issues in Epic" section in the hosted…
-
Regarding User management - i would strongly suggest to use Crowd instead of JIRA as JIRA isn't meant for user management but crowd is a deicated product and can handle groups really well.
-
Hi Mathias, I would suggest if your planning to buy all three then buy CROWD as well which is an excellent product for Sing-Sign on. Now, you can manage your access to JIRA, Confluence and Stash using Global permissions. You can specify groups in global permissions and the users who are part of that group will have access…
-
This again won't work as this statement is wrong UserManager userManager = ComponentAccessor.getUserUtil() I have the provided the correct answer and has been accepted "Complete code" please see that for correct code.
-
please see my complete code answer
-
you need to Cast it to string - like (String)it
-
"UserManager userManager = componentManager.getUserUtil()" UserUtil can't be assigned to instance of UserManager and componentManger needs to be replaced by ComponentAccessor.
-
Complete code import com.atlassian.jira.component.ComponentAccessorimport com.atlassian.jira.issue.watchers.WatcherManagerimport com.atlassian.jira.user.util.UserManager WatcherManager watcherManager = ComponentAccessor.getWatcherManager()UserManager userManager = ComponentAccessor.getUserManager() def watchUsers =…
-
As I have mentioned in my answer that componentManager is not used anymore and instead ComponentAccessor. Instead of "componentManager.getUserUtil()" it should be ComponentAccessor.getUserUtil() @vasiliy There is a typo in your answer.
-
Nice!! Please accept / upvote the answers provided by users who helped you come up with the answer. Thanks.
-
remove the line - ComponentAccessor.getInstance() it's not required. As all the getter methods in the ComponentAccessor class are static thus call them directly like ComponentAccessor.getWatcherManager()ComponentAccessor.getUserManager() etc
-
The error is coming because your using the wrong class, instead of ComponentManager please use ComponentAccessor https://developer.atlassian.com/static/javadoc/jira/latest/reference/com/atlassian/jira/ComponentManager.html - ComponentManager doesn't have the methods you need in latest JIRA API Docs While ComponentAccessor…
-
Hi Chidha, You can define Role based transition condition using https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities or you can use the free plugin script runner as well
-
Ohk, could be J-Tricks plugin or something similar, good that the issue is resolved now!
-
I think you also have scriptRunner plugin installed and this linkedIssues function is coming from the scriptrunner plugin which has a slightly diff. syntax.
-
I am using 7.1.7 JIRA version and I don't get any syntax error- linkedIssues("reqm-31","depends on")
-
Can you share your query and the error? Also make sure you are supplying the right link as there is a difference b/w inward link and outward link.
-
What's your function, how did you expect it to work and how is it working?
-
Hi rambanam, i know about both of them and have used them, my query is about rest call from within the script runner post funtion and the corresponding library import.
-
Thanks Jon for clarification.
-
Why would you want to do an REST call from an post function?
-
Using the "Script runner" plugin, you can automate as well by adding a condition in the post-function so no more manual cloning of issues.
-
It's easy with plugins - You can use the feature of "cloning" an issue when you create the original feature. Let's say you create one feature in web project then that issues should be cloned automatically in Android & iOS project. You can use plugins for this-…
-
Simple, easy and effective! - https://marketplace.atlassian.com/plugins/com.almworks.jira.structure http://almworks.com/ you can even try the demo on their website.