Comments
-
Glad to help. Sure, to display the author you could use <% def commentManager = com.atlassian.jira.component.ComponentAccessor.getCommentManager() def comments = commentManager.getComments(issue) for(comment in comments){ out << "Comment by: " + comment.getAuthorApplicationUser().getDisplayName() +"\n" out << comment.body…
-
Weird... I though I already posted the answer, now that I check it doesnt show up. Here <% def commentManager = com.atlassian.jira.component.ComponentAccessor.getCommentManager() def comments = commentManager.getComments(issue) for(comment in comments){ out << comment.body + "\n" } %>
-
@Bunty in that case you can use something like this <% def commentManager = com.atlassian.jira.component.ComponentAccessor.getCommentManager() def comments = commentManager.getComments(issue) for(comment in comments){ out << comment.body + "\n" } %> "<% %>" allows you to escape the GString template and run native Groovy…
-
I have created a custom field "User Priority" of type "Checkboxes". I have configured a Behavior and added a Server Side Script on the "Reporter" Field. This script executes correctly for me on the Create Issue Screen. Can you check again? (Type of Custom Field and if correct Group Names) import…
-
In that case $comments.body - will return a list of strings (comment bodies)
-
I think your problem lies in the values. If you use formValue you need to specify the select option ID. You can find this in the URL when you try to edit the value of an option. Take a look at the value I used. In case you want to use the text values I believe you need to query over the possible options of the custom…
-
Hi again, This code should help out. import com.onresolve.scriptrunner.runner.util.UserMessageUtil import com.atlassian.jira.component.ComponentAccessor def customFieldManager = ComponentAccessor.getCustomFieldManager() def flag = [ type: "warning", //Other possible options are "info", "success", "error" body: "You are…
-
And this can be done with a list too :)
-
Can you share what you've come up with so far? Maybe we could see and help out in that part by adding a conditional check.
-
Happy to help. Kindly mark as answered, so it maybe helps other people as well.
-
You could check against now() duedate<now()
-
This should return all comments of an issue def commentManager = ComponentAccessor.getCommentManager() def comments = commentManager.getComments(sourceIssue)
-
Usually for a field to appear in the Portal it has to have both: * Value Set * Configured to be displayed in the Portal Maybe you could set the respective custom fields to a dummy value (hidden) and then replace it via the User Profiles for Jira App post function during the create transition. This way the field should be…
-
User - the simplest entity. One user account Groups - user groups. Simply "folders" or bundles of users in a group. Accessed via user management Customers - users who will have access to Service Desk Portal. This is accessed as a Project Role Organizations - one organization is supposed to represent a group of customers,…
-
Maybe try and use the custom field id. Btw, 100+ fields with notes... I'd suggest to have that revised.
-
Hi, Project Roles in Jira, as most of the stuff, are customizable. Depending on the application installed (Core, Software or even Service Desk), you get some default Project Roles. But these defaults are there just to guide and help out. The Jira admin can freely delete/edit/add new ones, to fit their instance' needs. In…
-
Hello also from Albania :)
-
Now I understand that the agent, while on the phone call creates the issue for the user. In that case I would add a checkbox field named "Type". Example values = "Internal", "External", "VIP". Add a behavior for the specific project/issue type Add a server script for field Reporter The basic script would look something…
-
Hi, Do you already have the users mapped out somehow? Probably in a group? If so, you could use Script Runner Behaviours. It's an easy method of assessing Jira forms and making decisions/changes based on the field values. I'm thinking something of a Read only field, or maybe even a checkbox. As soon as the form Loads, the…
-
Unfortunately this exact syntax is applicable only for SR
-
I think this article should help, under section How to change date and time formats https://confluence.atlassian.com/adminjiracloud/configuring-the-look-and-feel-of-your-jira-applications-780861527.html?_ga=2.213679261.889995482.1533883728-707207191.1533883728
-
You can use something like this project = XX and resolution = Unresolved AND Flagged = Impediment and issueFunction in hasLinks(blocks)
-
JQL by default will always return Issues, no other units.
-
Hi there, Unfortunately Priority is a system field and does not have that behavior. Only custom fields (Select List or Radio) can allow that. If you absolutely must have this functionality, well... I believe a quick hack would be to add another value for priority (say "No Priority" or "None" or either "Choose your…
-
Here's the latest version (Jira 8.4) https://confluence.atlassian.com/jirasoftware/jira-software-8-4-x-release-notes-975017507.html Jira 8 was a platform upgrade, so regarding features, for a simple summary I would suggest reading the 8.0 release notes:…
-
Hi, Personally, I tend to move far from the folder concept. I've seen better organization by using labels/tags. Folders usually have a tree structure, so the analogy would be 1 to 1 to Confluence pages. 1 Page is 1 folder (even if it has contents or not). So in theory you could use "empty" spaces as folders or containers.…
-
I think a custom script is required. Not so difficult, but required.
-
Generally, Atlassian has a policy of maximum user tier. Meaning if you have let's say 3 Apps installed Jira Service Desk - 25 users Jira Core - 100 users Jira Software - 250 users If you decide to purchase an add-on, you have to pay for the maximum user tier you have, in this case 250. This, because basically the add-on is…
-
Hi, Personally I recommend spaces based on scopes. Meaning what is the space scope? If it's for the internal team, than it should be a Team Space. If it's a public, or a collaboration space (maybe for 1 project) then it should be accessible to all relevant members. Parent Page based permissions are a bit rudimentary, but…
-
Well the first question lies, if you can actually separate those? Or is it a fixed external requirement to have 1 space only? If one space it is... I would start with the public "subspace", which should be the easiest. Simply create a Parent page named "Public" set no restrictions to it. Same logic applies on other 6…