youngmon/atlassian-qna huggingface dataset:
How to return multiple field values
Asked by sambasiva rao:

This my query which is not able to execute.please help.

//DEFINING CLASS  
import com.atlassian.jira.component.ComponentAccessor;  
import com.atlassian.jira.issue.IssueManager;

//defining varaiables

def abc = ComponentAccessor.getIssueManager();  
def xyz = abc.getIssueObject("TEST-3");  
return xyz.getStatus().name, xyz.getPriority().name, xyz.getSummary;


Answers:
author: Tansu Akdeniz
body: Hi [@sambasiva rao](/t5/user/viewprofilepage/user-id/5470166)

What do you mean by multiple field values? Which value do you want to get?

comments: author: sambasiva rao
body: Hi Tansu,

Thanks for your reply

I want to return the specified values at a time

xyz.getStatus().name, xyz.getPriority().name, xyz.getSummary;


Tags: cloud

jira-cloud
Cannot find the gadget Filter counts in Dashboard.
Asked by Md_ Abrarul Huda:

Hello all, I was using the Filter counts gadget in Jira dashboard for reporting purpose. But suddenly found that it was no longer usable. attached screenshot for reference. I'm still using the standard version and with paid licenses. ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/345690iFF6026DFF2C7DB78/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Marc - Devoteam
body: Hi [@Md_ Abrarul Huda](/t5/user/viewprofilepage/user-id/5516667)

It seems that the gadget source a filter or project is based on projects you don't have permission to anymore.

comments: author: Md_ Abrarul Huda
body: Hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

That's what it seems like. But I changed nothing in my project or Jira instance. And last I checked this was a basic gadget by Atlassian as well. It should have been available to me.


author: Marc - Devoteam
body: Hi [@Md_ Abrarul Huda](/t5/user/viewprofilepage/user-id/5516667)

It is a basic gadget.

But the gadget shows information, based on selecting a project or an existing filter.

If the gadget configuration contains a filter or project you don't have permissions to, the message you describe is shown.

Edit the dashboard the gadget is on and check the configuration of the gadget.

See what the source of the gadget is and check if you have permissions on the source.


author: Md_ Abrarul Huda
body: hi [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

The gadget isn't even showing in the list of gadgets anymore. Cannot do anything at all.


author: Marc - Devoteam
body: Hi [@Md_ Abrarul Huda](/t5/user/viewprofilepage/user-id/5516667)

Do you still have an active JSM subscription.

This gadget is only available with a JSM subscription.


author: Md_ Abrarul Huda
body: Yeah. That's what I found too actually. Thanks for the help. My JSM subscription expired.


Tags: cloud

jira-service-management

jira-service-management-cloud
Some Jira Templates don't have components?
Asked by Damien Lee:

HI, trying out some of the Jira Project templates like Task Tracking \& Personal Task planner, and I notice that I can't add components to them in the Project Settings, the option is just not there, so when I edit an issue in these projects the Component field is there, but I can't select anything. Is there a way to add this in?

Regards  
Damien


Answers:
author: Hans Polder
body: Hi [@Damien Lee](/t5/user/viewprofilepage/user-id/5552190) ,

Welcome to the community!

There are several types of projects that you can create, when you look at the 'bigger picture':

- team managed projects

- company managed projects

According to the documentation, '[Components' are only available in the **company managed** type projects](https://support.atlassian.com/jira-software-cloud/docs/what-are-jira-components/). The two project templates you've mentioned are both 'team managed' projects, hence they don't offer the 'Components' functionality.

If there is something specific you'd like to achieve in the mentioned projects, feel free to share your use case, so we can help out with some other approaches, maybe :)


author: W_Diehl _Litew8 GmbH_
body: Hello [@Damien Lee](/t5/user/viewprofilepage/user-id/5552190)

there are different kind of projects in Jira.

Jira work management vs Jira software (Atlassian announced to merge those soon)

And **Team-managed vs Company-managed**.

The problem with the missing component field sounds like you have been setting up **team-managed projects, where components do not exist**.

In case you are looking for a way to setup company-managed projects based on Jira's native templates including predefined sets of components and other project content/issues, you might want to give our app '[**Project Templates \& Issue Templates for Jira**](https://marketplace.atlassian.com/apps/1230303/project-templates-for-jira?hosting=cloud&tab=overview)' a try. It's free under 10 users.


Tags: cloud

jira-cloud
Adding a custom field to JIRA Automation
Asked by Gautam:

Hi, I am trying to add a rule via automation to trigger an email when value of sprint changes. I am able to get the email triggered.

I am trying to add in a custom field in the body of the email that gets triggered along with existing fields liks Summary, Assignee etc. I have used the below and no luck.

{{issue.customfield_10767}}

{{issue.fields.Validator}}

Validator is the custom field. Both these return value which is numeric like -

712020:b205ac28-c278-4dd8-a2fa-79086133c016

and not the actual value.  

Can someone please help?


Answers:
author: Trudy Claspill
body: Hello [@Gautam](/t5/user/viewprofilepage/user-id/5277983)

What is the field type of the field?

Based on the value you have shown I suspect it is a User Picker field. If you want the user's name to be returned then you need to use:

{{issue.customfield_10767.displayName}}

By default the value given when you use a smart value for a User Picker field will be the Atlassian Account ID of the user, not their name.

Reference:

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/>

comments: author: Gautam
body: Thank you [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011). It worked like a charm. Yes, it is a user picker field.

Can I also ask one other question? If I set a rule for an email notification to be triggered when a field value changes, is there a way to get previous value of field as well? Say for example, if I set a rule for an email notification to be triggered when Sprint value is changed in Sprint field, is there a way / smart field that I can use to include previous value of the sprint field as well in the email body?


author: Trudy Claspill
body: Yes, that is possible.

Look at the {{fieldChange}} smart value described on this page.

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/>


author: Gautam
body: Champion [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) . Thank you so much!


Tags: automation

cloud

custom-field

jira-cloud
Non-existent boards showing
Asked by Kirsty Halkett:

I have deleted some team-managed projects whilst setting up Jira. These were deleted as we moved to a company managed project instead. However, when viewing the boards, there are three boards that are showing in the drop down that no longer exist. How do I make these go away?


Answers:
author: Kirsty Halkett
body: I found out that you have to permanently delete the project from the trash for them to disappear. Thanks for your replies.


author: Hans Polder
body: Hi [@Kirsty Halkett](/t5/user/viewprofilepage/user-id/5584642) ,

Could you maybe share a screenshot of what you're seeing as there are multiple places where 'boards' can be viewed. Additionally, team-managed projects don't use the same 'Boards' that are natively used in company-managed projects, so I'm trying to understand better what your use case is :)

To delete a board, follow the instructions as detailed here: <https://confluence.atlassian.com/jirakb/how-to-delete-a-software-board-in-jira-cloud-1369637429.html>

You'll notice that 'team-managed boards' cannot be removed this way, but they should disappear if you have trashed/removed the project itself.

comments: author: Kirsty Halkett
body: Hi Hans,

I believe these were the original team-managed boards. These projects have since been deleted and are in my trash. When I tried to view them I receive an error message.

![screenshot1.png](https://community.atlassian.com/t5/image/serverpage/image-id/345889iA380A5DE504ED98A/image-size/large?v=v2&px=999 "screenshot1.png")![screenshot2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/345890iD07093EFBE8CAE07/image-size/large?v=v2&px=999 "screenshot2.PNG")


author: Trudy Claspill
body: Hello [@Kirsty Halkett](/t5/user/viewprofilepage/user-id/5584642)

Welcome to the Atlassian community.

How have you determined that the boards no longer exist? What happens when you try to access them?

It is possible that your browser is displaying cached information. Have you tried viewing the same information in a different browser, using a private browser window, or clearing your browser' cache?


Tags: cloud

jira-cloud
Jira automation Access status changelog
Asked by Kinga Szymajda:

Hi,

I am trying to create a Jira automation rule to move a task to In review when a merge request is created and not in Draft stage. It works, but then once we prepare another merge request for a release, the issue is move to In review status again. I would like this rule to run only if the task was not in In review status before. Is there any way to do that?

I tried {{changelog.status.statusCategory.name.from}} does not contain 'In review', but it does not work.

Best,

Kinga


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. You can create a condition in the same rule to check the issue status before moving the ticket to specific status. You can set the condition to status not in Review.

![Screenshot 2023-08-10 at 1.19.48 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/274342i6A786241A0F40DD8/image-size/large?v=v2&px=999 "Screenshot 2023-08-10 at 1.19.48 PM.png")

comments: author: Kinga Szymajda
body: Hi Mohanraj,

the issue is that I am not looking for a previous status, but one of the statuses from the changelog history. After 'in review' we have a few other statuses and I need to find out if in the status history the task has ever had 'in review' set or nor. If yes, then do not move it to 'in review' again once the merge request for a release is opened.

Best,

Kinga
Using JSM non licensed users to create JWM issues
Asked by Cyrus Marshall:

I setup JWM to manage internal creative service projects. Video team and Graphic design team. I have a "traffic manager" to handle the intake of projects by clients submitting a Work Order from a PDF document. What I would like to do is use JSM forms to send to clients and have them fill out all the important information just like our current work order, then have that request automatically load to my backlog JWM project for trafficking to the appropriate team member. Then deliverables will be sent to the stakeholder via emails.

Is this possible? The stakeholders submitting the work order would not have licenses to Jira and I want to make sure this process would work. Any assistance is appreciated!


Answers:
author: Mikael Sandberg
body: Yes, that is possible if you use automation to copy the issue over to your JWM project. I have a similar setup for one of our teams were they are using two forms in JSM that the user fills out, and then that form is added as a pdf to the issue that is created in their JSW project.


Tags: cloud

jira-service-management

jira-work-management-cloud
ADMIN JIRA
Asked by fabiano:

```
You don't have access to hfsaniamento.atlassian.netIt seems that the administrator has marked your eduardo.ribeiro@hfsaneamento.com.br account as inactive. Please contact your administrator to resolve the issue.You entered with eduardo.ribeiro@hfsaneamento.com.brswitch accountI request support, the user fabiano@hfsaneamento.com.br blocked the former administrator eduardo.ribeiro@hfsaneamento.com.br and I cannot access to make fabiano@hfsaneamento.com.br as ADMIN
```


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. Account : fabiano@hfsaneamento.com.br has only user role access on the given Jira site and not a site admin. There is one site admin user present, which I cannot share here. You can reach out to our support on <https://support.atlassian.com/contact/#/> and we should be able to help. Thanks!
Epic/Task/Child issue
Asked by Paul Logan:

Hello,

I have an Epic in Jira Work Management that has various tasks linked to it. The Tasks have various sub-tasks created for it. I want to move a Task to in progress, however some of the sub-tasks are in progress, some are still in To Do and i want the To Do sub-tasks to stay there.

Any ideas how to do this?

Regards,

Paul.


Answers:
author: Trudy Claspill
body: Hello [@Paul Logan](/t5/user/viewprofilepage/user-id/4983002)

Changing the status of a parent issue to In Progress does not automatically change the status of sub-tasks, unless you have added automation to make that happen.

However, in a Work Management project the subtasks will always display in the same column as their parent task, even if the subtask status is different.

As seen below, the status of the parent issue is "Z in Progress" while the status of its subtasks are "To Do"

![Screen Shot 2023-08-09 at 11.27.52 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/274255i61D61AE0929835FF/image-size/large?v=v2&px=999 "Screen Shot 2023-08-09 at 11.27.52 AM.png")

comments: author: Paul Logan
body: Hi Trudy,

Thank you for this.

Regards,

Paul.


Tags: cloud

jira-work-management-cloud
Jira Product Discovery interferes with Jira Work Management
Asked by David Hill:

I've been on the beta of JPD (just moved to the non-beta version) alongside JWM and all along I've had the same issue. Each time I open a JWM project, it opens in JPD. Mysteriously, while JWM shows myself (as org admin) as the sole user, the Jira Products page shows zero users for JWM. Have tried all the obvious steps, such as clicking on 'manage Product', 'Add users' etc - it happily lets me add myself multiple times but this makes no different to what I mentioned above (e.g. Jira Products page persists in showing zero users).   

Not sure if it's relevant, but there appears to be no option to add anyone as Product Admin for JWM (nor JPD, for that matter) - though I'm both a User and Product Admin for Confluence.   

Not sure what's happening here! I just want to make sure I understand what's going on before I unleash Jira on my staff - hence using it with only one user for the moment.

Thanks in advance for responses!


Answers:
author: Laura Campbell _Seibert Media_
body: Hi [@David Hill](/t5/user/viewprofilepage/user-id/1332121) ,

When you filter your projects for JWM and Product Discovery, are you seeing something similar to this?

![JWM vs JPD.png](https://community.atlassian.com/t5/image/serverpage/image-id/274120i3602353C91FECADD/image-size/large?v=v2&px=999 "JWM vs JPD.png")

The JWM project you've created is correctly indicated for the type as either Company or Team-managed **business**? And the JPD as a Product Discovery type?

And when you click on your JWM project, you're seeing this kind of interface?

![JPD basic screen.png](https://community.atlassian.com/t5/image/serverpage/image-id/274121iB1D65AE6244CA5A7/image-size/large?v=v2&px=999 "JPD basic screen.png")

Or this kind of board? (Note the tabs across the top are different)

![JWM basic board.png](https://community.atlassian.com/t5/image/serverpage/image-id/274122i0364088CC0B2D6A2/image-size/large?v=v2&px=999 "JWM basic board.png")


Tags: cloud

jira-work-management-cloud
How do I trigger a notification email to a custom person field in a team-managed project?
Asked by Rachel Wells:

I created a custom person field in my team-managed JWM project so we could track additional RACI roles for each task (Consulted, Informed, etc.). These fields can have one or more names.

As it currently stands, when I add a user to the custom person field, they do not get any notification. Ideally, they would be notified that they have been added to the ticket in the Consulted field, and ultimately, added as a Watcher on the ticket.

I tried using Jira Automation and I couldn't get it to work. Can someone help please?


Answers:
author: Mark Segall
body: Hi [@Rachel Wells](/t5/user/viewprofilepage/user-id/5001242) - You could do something like this:

* TRIGGER: Field Value Changed (Your custom field)
* BRANCH (Advanced)
  *

    ```
    {{issue.CUSTOMFIELD}}
    varBranch
    ```

  * ACTION: Manage Watchers (Add these watchers)
    *

      ```
      {{varBranch}}
      ```

    * Check Remove all existing Watchers

This approach will remove/re-add all RACI members each time the field is updated so that if someone is removed from a RACI role they also get cleared as a watcher.

comments: author: Jack Brickey
body: I like this idea


author: Jack Brickey
body: Hi [@Rachel Wells](/t5/user/viewprofilepage/user-id/5001242) , there is an open issue associated with being able to use a TMP People field in Automation- <https://jira.atlassian.com/browse/AUTO-519> . Have you considered using the watcher field for identifying your RACI person?
Latest Update for JIRA WORK MANAMENT
Asked by J Santi:

I am reaching out to inquire about the latest update or version available for Jira Work Management.

Our organization is an active user of Jira Work Management, I want to ensure that we are leveraging the most up-to-date features and improvements. Could you kindly provide information about the latest update/version and any notable changes or enhancements it offers?

If you have any information or updates to share, please feel free to reach me via email at:

JS_Mail2000@yahoo.com


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. You can refer to <https://support.atlassian.com/organization-administration/docs/keep-up-with-atlassian-changes-to-products/>


Tags: cloud
How to set the Time Tracking / add a Work Log entry via Card Automation
Asked by Steven Wills:

We are using the Time tracking feature. On each card on the right, there is an option with the label "Time tracking".

You can enter time is weeks (w), days (d), hours (h), minutes (m).

Once you add time, it shows up as an entry under the Work log tab in the center of the card.

I created Automation to create a weekly card and I want to set Time tracking. I followed the steps in the docs and tried both examples at the following link under the "Time Tracking and Logging Work" section. But it isn't working. My automation creates a task and I want to assign 1h of time spent to it.

<https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/>

As a bonus, is it possible to set the user who the entry is for as well?

```
{
"update": {
"customfield_10015": [
{
"set": "{{now}}"
}
]
},
"worklog": [
{
"add": {
"timeSpent": "1h"
}
}
]
}
```


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. I believe you want to create a sub-task and add time through automation. You can try the rule shown on the image.

![Screenshot 2023-08-08 at 10.39.02 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/273784i7B51F906D475DD55/image-size/large?v=v2&px=999 "Screenshot 2023-08-08 at 10.39.02 AM.png")

comments: author: Steven Wills
body: Yes, I ended up finding that task and solving that way. Thanks.


Tags: cloud

jira-work-management-cloud
How can you report when a priority changes?
Asked by Rhonda Reynolds:

I need to determine how many Jira Bugs have a priority changed after initial submission. Is there a way to do this?

When Jira bugs are submitted from support, it seems they will sometimes go back and update the Jira Bug's priority. This impacts SLA targets. Is there a way to track this in a report?


Answers:
author: Fazila Ashraf
body: Hi [@Rhonda Reynolds](/t5/user/viewprofilepage/user-id/1194133)

You can query as below

Project = ABC and type = Bug **and priority changed**

<br />

More info in <https://support.atlassian.com/jira-work-management/docs/jql-fields/>

comments: author: Rhonda Reynolds
body: Thank you very much. I missed that. I appreciate such a fast response.


author: Rhonda Reynolds
body: Any suggestions appreciated..


Tags: cloud
Please advise best courses for Jira
Asked by Roman Lemak:

Hi all,

I want to learn all the tricky(automation rules, reports, big picture, etc.) options in Jira.

Pls, could you be so kind and tell me which courses are the best. Free or paid that's no matter.

Thanks in advance


Answers:
author: Fazila Ashraf
body: Hi [@Roman Lemak](/t5/user/viewprofilepage/user-id/5280982)

If you are new to Jira, i would recommend to look at the training paths, courses and certifications in <https://university.atlassian.com/student/catalog>

Once you complete them, then you could look at the demo and user guides of plugin specific expertise on bigpicture etc.

All the best!


Tags: new-to-jira
How can I share Jira Work Management board with external partner?
Asked by limor kleinman:

example: I have a Marketing project and one of my team member is freelance. how can I share with him the project board to view only his tasks?   
how can I enable him to edit his tasks?  


Answers:
author: Prachi Bolar
body: Hi Limor,

Thank you for contacting the Atlassian community.

If you just want to share the board and have him comment on an issue without any additional license, you would have to use a third-party add-on here. : [https://marketplace.atlassian.com/apps/1220441/external-share-for-jira?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1220441/external-share-for-jira?tab=overview&hosting=cloud)

But if this user is added to your instance then you may give him the browse permission, and edit the issue or create issue permission to see the board or edit the issues. Please refer to <https://support.atlassian.com/jira-work-management/docs/understand-project-permissions-and-roles/>.

Here is also another document that helps you understand what can be done on a board : <https://support.atlassian.com/jira-work-management/docs/monitor-your-work-with-the-board/>

I hope this information helps. Please reach out with any concerns.

Thank you,

Prachi

comments: author: limor kleinman
body: Thank you. Is this add on available also in Work Management module?


author: Prachi Bolar
body: Hi limor, Yes, you may use it for JWM, JSM and JSW as well.

![Screenshot 2023-08-09 at 5.30.53 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/274150i1D97553225B62F9B/image-dimensions/307x186?v=v2 "Screenshot 2023-08-09 at 5.30.53 PM.png")

Thank You,

Prachi