youngmon/atlassian-qna huggingface dataset:
Get only the users of Jira and not Jira Service Management
Asked by legionqa1:

<https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-search-get>

above API is returning all the users from **Jira Service Management** and **Jira** ...however i just want to list the users of**Jira alone**

**I just want to get the list of users under Jira.**

**Can anyone please suggest the apis to do so.**

![Screenshot 2024-08-02 at 3.45.01?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/339658i7F43671540819566/image-size/large?v=v2&px=999 "Screenshot 2024-08-02 at 3.45.01?PM.png")


Answers:
author: Marc - Devoteam
body: Hi [@legionqa1](/t5/user/viewprofilepage/user-id/5559217)

You could look at <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-member-get>

All users are probably in a group, identify the group and then you should be able to get all users.

But if you choose the manage option, you can filter by product and that will give you al the users.

Jira is seen asa a single product, JSM add functionality on top of Jira. the users are all in the same place, they are just granted permissions on the product.


Tags: cloud

jira-cloud
Fastest way to make JIRA read only?
Asked by RG:

We are planning to migrate two instances of Jira into one. We need to make the old instance "read-only" to ensure that individuals are not adding issues to the old instance. Besides creating a permission scheme and applying it to every single project, is there a way to bulk do this to all projects?


Answers:
author: Tansu Akdeniz
body: Hi [@RG](/t5/user/viewprofilepage/user-id/1870250)

There is no built-in solution to bulk change permission scheme. There is an open ticket [JRASERVER-37941,](https://jira.atlassian.com/browse/JRASERVER-37941)you can vote and watch. However, you can use scripts, take a look at this thread: [How to Bulk Change Permission Schemes?](https://community.atlassian.com/t5/Jira-questions/How-to-Bulk-Change-Permission-Schemes/qaq-p/807557)

Also, check the answers here: [Fastest way to make JIRA read only?](https://community.atlassian.com/t5/Jira-questions/Fastest-way-to-make-JIRA-read-only/qaq-p/1261492)

comments: author: Hans Polder
body: Keep in mind though, that if a Permission Scheme is not attached to a project, I'm not sure it's actually getting migrated to the other system. You should at least test it out with a few test projects to make sure... Otherwise you end up with projects on the other system, without the permission schemes there.

In a recent DC\>Cloud migration we moved everything to one read-only scheme, and since most of the scheme couldn't be used in Cloud anyway (different groups, etc), we just ditched the old PSs and moved most projects into 2 or 3 permission schemes that were cloud-compatible with our setup there.

Things to consider/test for sure!


Tags: jira-server

server
Manage team avalability in all project
Asked by Rizky Mapat Waluya:

I want to make a dashboard where I can see all data of the developer team to manage their availability in all of the project. So what I want to ask is.  

1. Is there any way I can group user in one team? such as Developer team  
2. How to make the dashboard filter by the developer team only? Since the project id is mandatory\|  

Thank you


Answers:
author: Marlene Kegel - codefortynine
body: Welcome to the community, [@Rizky Mapat Waluya](/t5/user/viewprofilepage/user-id/5559200).

As far as I know the project ID is not mandatory for all or for most dashbaord gadets, since you can display issues from a saved filter.

* To create a filter you navigate in your Jira instance to *Filters \> View all issues*
* Filter for the issues you want to be displayed on your dashboard (e.g. by selecting all assignees from the Dev team)
* Then click on "save filter" on the top right

Now you should be able to select the saved filter as source issues from you dashboard gadgets.

If you want to filter dynamically on your dashboard you could also try our app [Quick Filters for Jira Dashboards](https://marketplace.atlassian.com/apps/1220136?utm_source=atlassian&utm_medium=referral&utm_campaign=quickj-new-reach-com-2773890) (I am the product manager of this app). You can [test it without installation on our demo dashboards.](https://codefortynine-demo.atlassian.net/jira/dashboards/10003?utm_source=atlassian&utm_medium=referral&utm_campaign=quickj-new-reach-com-2773890)


author: Lisa Forstberg
body: Hi [@Rizky Mapat Waluya](/t5/user/viewprofilepage/user-id/5559200) ,

Welcome to the community!

Explore the documentation about [Teams in Jira.](https://support.atlassian.com/atlassian-account/docs/what-is-an-atlassian-team/)

This is where you can connect users to a Team entity and use the Team tag on issues to assign scope in Jira to a Team plus a lot of other features. It seems like you are on Jira cloud standard, and some of the features are available here as well.

This can then be used for you to base your dashboard on.

Best regards

Lisa


Tags: cloud

jira-cloud

management

team
When creating an Issue, prevent logging to specific Project OR Project Category (HOW TO)
Asked by Luke:

Hello, I am wondering if the following is possible using either automation (but I can't find a suitable solution) or e.g. with a post function / validator on the Create Issue workflow transition -- something akin to the 'Parent Status Validator' option but for Project/Category instead:

---

When user goes to create a new Issue

If Project (OR, optionally Project Category) is X (or Y category)

Then user cannot create Issue (error message much like using other

---

Essentially I am trying to stop users logging to one specific project. I know it's an odd use case and you'd think I could just close that project, but I do have my reasons!


Answers:
author: Dexter de Vera
body: Hi [@Luke](/t5/user/viewprofilepage/user-id/5106406) ,

Base on my knowledge, there is no condition to validate the project. For me, some workaround, you may create a different permission scheme to the specific project and align group or role to control who can create (or any other permission) on that specific project.

Hope it helps,

Thank you!


author: Marc - Devoteam
body: Hi [@Luke](/t5/user/viewprofilepage/user-id/5106406)

Set different permission schemas and in the permission schemes, use groups and user for the permissions, not roles.

Project admins can grant a role to any user, but by not using roles but defining the permission on group and/or user level in a permission scheme, you are are to limit which users can see which projects.

comments: author: Luke
body: Thank you!


author: Tessa Tuteleers
body: Hi [@Luke](/t5/user/viewprofilepage/user-id/5106406) ,

You can restrict "Create issues" permission for the projects you want to rectrict to certain user groups or roles.

More info about permissions [here](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/).

Please let me know if I misunderstood and your case is more complex thant this.

- Tessa


Tags: cloud

jira-cloud
What is a bug
Asked by kshama mishra:

There are some situations.

If a QA team missed some bugs and it's even not founded by anyone since last one year or more than that.

Do we need to consider it as a bug and should we lock it as a bug in sprint or as a story as per agile development methodology ??


Answers:
author: Marc - Devoteam
body: Hi [@kshama mishra](/t5/user/viewprofilepage/user-id/5559136)

I would look at the risk and impact the so called "bug" relates to.

If it's critical and blocks functionality, take it as a bug in the sprint, of it seems more that functionality could be improved I would likely create a story and place it on the backlog.

There the wieght can be determined by the team and see if its relevant to be picked up and implemented.

comments: author: kshama mishra
body: Even if it's critical, if something is missed by QA team and issue is there in production environment for approx over 2 years.

What is the flow of agile?

So for now according to agile do we need to consider it as a bug or as a story.


author: Marc - Devoteam
body: Hi [@kshama mishra](/t5/user/viewprofilepage/user-id/5559136)

Agile is a guideline, not a strict framework.

Use it to the extend you companies proces is using or the way you within the company see fitting.

Determine your guidelines and process.


Tags: cloud

jira-cloud
it's possible to move or the tickets from Jira Service Management (JSM) to a Jira Software project b
Asked by Dilli Babu:

it's possible to move or the tickets from Jira Service Management (JSM) to a Jira Software project board?


Answers:
author: Anandhi Arumugam
body: Hi [@Dilli Babu](/t5/user/viewprofilepage/user-id/5552422) You can move issues using the Bulk Move function from the JSM project to Jira Software project. However, you need to take the following into consideration before doing the move.

1. What are the important fields that you need to retain from the JSM project. If you have any important field values, you need to make sure the Jira software project has those fields. Otherwise you will lose those values.

2. Check if there are any mandatory fields in the Jira software project. You may not have values for those in the JSM project. Revert these to optional during the move and make them mandatory again after setting values for the moved issues.

3. Check the workflow. You can map to a relevant status while doing the move.

4. Do you have any automations in the current project? Please check their functionality and how to add them to the Jira Software project.

5. Please note: You will lose the customer portal after moving those issues, request types for those issues, SLAs on those issues etc.

Hope this helps.

comments: author: Dilli Babu
body: Thank you Anandhi..  

Currently i've set-up JSM for the customer support.  

Once we received ticket from customer, I have to assign the ticket to developers which there are in the JIRA software project.  

Not bulk move function.  

<br />


author: Anandhi Arumugam
body: Hi [@Dilli Babu](/t5/user/viewprofilepage/user-id/5552422) You can do this using Automation Rules. Based on a condition or a workflow transition, you can move a specific issue to a development project and also assign to some user. Try something like this in the JSM project and let me know if it works :)

![Automation - Move Issues.png](https://community.atlassian.com/t5/image/serverpage/image-id/340202i5708BE039ACB6BC7/image-dimensions/400x306?v=v2 "Automation - Move Issues.png")


author: Dilli Babu
body: [@Anandhi Arumugam](/t5/user/viewprofilepage/user-id/5552450) Do you have the document to configure.


author: Anandhi Arumugam
body: No documentation that I can share, but do you have any specific questions? Were you able to try out something like the above screenshot?


author: Dilli Babu
body: I am figuring out what you suggested.


author: John Funk
body: Hi Dilli,

It is possible, but the person doing the Move just have the ability to Create issues in the target project.


Tags: cloud

jira-service-management

jira-service-management-cloud
Will "'epic-link' replaced with 'parent'" feature come to the Jira Datacenter version?
Asked by Erich Riegler:

Hi All,

will the "'epic-link' replaced with 'parent'" feature come to the Jira Datacenter (On Premise) version ?

I Only find informations regarding the cloud version:

<https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/>

Best Regards


Answers:
author: Hans Polder
body: [@Erich Riegler](/t5/user/viewprofilepage/user-id/1076415) ,

I would sincerely hope so. It was such a breath of fresh air when the change was applied in my previous cloud instance. So much more clarity, uniformity, no more needing to explain users the difference ;)

The roll-out is still not completed though, as fields like 'Epic Link' still exist in Cloud, but with a notice that you should use the 'Parent' field instead. I believe they are going to remove it sometime soon...

It would make sense to prepare DC for the same change eventually, as it would simplify all moves to cloud (and would bring the same benefit/value/clarity as it did for Cloud). But, looking at the suggestion page ([https://jira.atlassian.com/issues/?jql=project%20%3D%20JRASERVER%20AND%20text%20\~%20%22epic%20link%20parent%22%20ORDER%20BY%20created%20DESC](https://jira.atlassian.com/issues/?jql=project%20%3D%20JRASERVER%20AND%20text%20~%20%22epic%20link%20parent%22%20ORDER%20BY%20created%20DESC)) I don't see any clear tickets for it yet. Maybe they want to get rid of all the bugs/issues they might have had in Cloud before implementing it in DC versions, as it's much more difficult to release fixes for DC if something would really break.


Tags: data-center

datacenter

jira-data-center

jira-server

server
set up a client (external) for one epic only
Asked by Mahmoud Dahia:

Hi There

I would like to set up a Consultant (ext) to only being able to work on an issue/epic of our current software project

Is that possibel?

Thank you in advance


Answers:
author: Walter Buggenhout
body: Hi [@Mahmoud Dahia](/t5/user/viewprofilepage/user-id/5433921),

Short answer: yes. If you plan on keeping that epic in the same project as your other work, the only way to achieve this properly is via issue level security.

You can read more on how to set this up [in this support article](https://support.atlassian.com/jira-cloud-administration/docs/configure-issue-security-schemes/).

Hope this helps!

comments: author: Mahmoud Dahia
body: Thank you Walter for your fast response and providing the article.


Tags: cloud

jira-service-management

jira-service-management-cloud
Facing "Unsupported type class java.util.LinkedHashMap in setFieldOptions()" error
Asked by Richa Rajaram Aware:

We have request like we need to pop the users from specific user group in "User Picker (Single User)" field based on the another drop down fields option. So I have tried it with below script but getting "Unsupported type class java.util.LinkedHashMap in setFieldOptions()" error while executing it.

import com.atlassian.jira.component.ComponentAccessor  
def userUtil = ComponentAccessor.getUserUtil()  
def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()  
def userManager = ComponentAccessor.getUserManager()  
def groupManager = ComponentAccessor.getGroupManager()  
// def field = getFieldById("customfield_36450")  
// Get the form fields  
def regardingField = getFieldById("customfield_27500") // The field to check  
def userPickerField = getFieldById("customfield_35100") // The user picker field  
// Get the value of the regarding field  
def regardingValue = regardingField.getValue()

<br />

// Check the value and restrict the user picker field based on the group  
if (regardingValue == "AUTO AD") {  
def group = groupManager.getGroup("MU Tech_Auto AD")  
def groupMembers = groupManager.getUsersInGroup(group)  
def userOptions = groupMembers.collect { \[id: it.key, name: it.displayName\] }  
userPickerField.setFieldOptions(userOptions)  
} else {  
userPickerField.setFieldOptions(\[\]) // Or some default options  
}  
We are using Jira Data Center Version 8.20.30  
Please check and support me while resolving this error.  
Thank You!  
Best Regards,  
Richa Aware


Answers:
author: Richa Rajaram Aware
body: Hello,

Is there any update for above request?

Best Regards,  
Richa Aware


Tags: data-center

jira-data-center
User Not able to access jira dashboard ticket and open issues
Asked by Yeddulaharinath Reddy:

Hi Team,

The user ID : shreyas.belavadi1@landmarkgroup.in is not able to access the open issues and Dashboard ticket details .

Attaching the screenshots .

Kindly assist and resolve the issue on priority.![JIRA Error2.png](/t5/image/serverpage/image-id/339640iEBA514C47A09D3CA/image-size/large?v=v2&px=999 "JIRA Error2.png")![JIRA Error.png](/t5/image/serverpage/image-id/339639iA9E76063529F9659/image-size/large?v=v2&px=999 "JIRA Error.png")


Answers:
author: Marc - Devoteam
body: Hi [@Yeddulaharinath Reddy](/t5/user/viewprofilepage/user-id/5559086)

Welcome to the community.

As [@Anandhi Arumugam](/t5/user/viewprofilepage/user-id/5552450) mentions, are rights granted on projects?

Or has the user been granted product access at all.

comments: author: Yeddulaharinath Reddy
body: Hi Marc,

Users ID's : adarshkumar.kulkarni@landmarkgroup.in , pralhad.joshi@landmarkgroup.in , shreyas.belavadi1@landmarkgroup.in , sanju.hosangadi@landmarkgroup.in is![image (1).png](https://community.atlassian.com/t5/image/serverpage/image-id/339652i9E946C647D7523A1/image-size/large?v=v2&px=999 "image (1).png") facing the login issue and throwing the error now.

Attaching the error screenshot .


author: Yeddulaharinath Reddy
body: Users mnetioned have View access on the respective dashboard and resources .


author: Marc - Devoteam
body: Hi [@Yeddulaharinath Reddy](/t5/user/viewprofilepage/user-id/5559086)

I think this has to do with you companies network, firewall etc..

You probably need to whitelist the url's of the vendors app. I have had this with another client mine, we had to whitelist al Atlassian url's and all url's related to apps we used to use the features within the company network.

Check if you can access everything be using your phone as a hotspot on the mobile network.

You might need to check with the vendor what their url's are that require whitelisting.


author: Harinath Y
body: Thanks for the suggestion and the support .Now the issue is resolved .


author: Anandhi Arumugam
body: Hi [@Yeddulaharinath Reddy](/t5/user/viewprofilepage/user-id/5559086) Please check if the user has access to the projects that he is trying to view. Please check the People section of the Project to make sure that the user can view. I believe the user has application access since he is able to login. So the project specific permissions could be the issue. Hope this helps!


Tags: cloud

jira-cloud
gadget.common.error.500
Asked by niexijie:

gadget.common.error.500  


Answers:
author: YY Brother
body: Hi [@niexijie](/t5/user/viewprofilepage/user-id/5559033)

Welcome to our Community.

????????????????

Thanks,

YY?

comments: author: niexijie
body: __MSG_gadget.activity.stream.title__???

?????500????https ssl ??????? ????????


author: YY Brother
body: ??? jira cloud ???????


Tags: cloud

jira-cloud

jira-software
How to filter issues which have linkedissues of type Defect or Bug
Asked by Rakesh Seeram:

i want to know how many user stories have defects or bugs linked to it. Can someone give me a JQL for it.


Answers:
author: Tessa Tuteleers
body: Hi [@Rakesh Seeram](/t5/user/viewprofilepage/user-id/5333486) ,

Welcome to the community!

If I understand correct, you want a list of all issues of type "user story" that are linked to issues of type defect or bug?

Do you have scriptrunner on your instance? You could use the issueFunction *linkedIssuesOf(Subquery, \[link name\])*

You can find the documentation [here](https://docs.adaptavist.com/es/latest/run-a-search/jql-functions#:~:text=sort%20through%20issues.-,linkedIssuesOf,-linkedIssuesOf(Subquery%2C%20%5Blink).

In native Jira you can't run a query like this.

- Tessa


author: Marc - Devoteam
body: HI [@Rakesh Seeram](/t5/user/viewprofilepage/user-id/5333486)

As [@Tessa Tuteleers](/t5/user/viewprofilepage/user-id/24152) mentions ootb this is not possible.

But you can also check the following marketplace apps:

* [JQL Search Extensions](https://marketplace.atlassian.com/apps/1214791/jql-search-extensions-for-jira?hosting=cloud&tab=overview)
* [JQL Tricks](https://marketplace.atlassian.com/apps/31399/jql-tricks-plugin?hosting=cloud&tab=overview)


Tags: cloud

jira-cloud
Can I add a custom field in JWM with a formula to show data based on other fields?
Asked by Niki Woolston:

I want to add a custom field to show margin percent based on 2 other fields - Cost price, and revenue. I am manually typing in the margin to capture for reporting at the moment, but wondered if there was a way to have this automated based on the 2 other fields?


Answers:
author: Trudy Claspill
body: Hello [@Niki Woolston](/t5/user/viewprofilepage/user-id/5324993) ,

Yes, you could use an Automation Rule to detect a change in value in either of the two source fields, the have the automation rule calculate the value and edit the issue to insert that value into the appropriate field.

Find the Field Value Changed trigger on this page.

<https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/>

Find the Edit Issue action on this page.

<https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/>

Find information about doing math functions on this page.

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


Tags: cloud

workflow
How do I disable sticky comment bar in cloud Jira (hosted by Atlassian)?
Asked by Victor Dulepov:

The sticky comment field eats a huge part of the screen, leaving significantly less viewing space; and it's not needed all the time.

For server and datacenter edition there's the dark feature com.atlassian.jira.commentStickyFooter.disabled.

What do I do in cloud Jira?


Answers:
author: Dommalapati Chandrababu Naidu
body: Hi [@Victor Dulepov](/t5/user/viewprofilepage/user-id/731393) ,

I suggest you to open a support ticket with Atlassian directly on this issue.

<https://support.atlassian.com/contact/#/>

Thanks,

Chandrababu


author: Bill Sheboy
body: Hi [@Victor Dulepov](/t5/user/viewprofilepage/user-id/731393)

I do not believe that is possible for Jira Cloud, and here is a suggestion to hide / show that "Add a Comment" on the backlog view: <https://jira.atlassian.com/browse/JSWCLOUD-23563>

You could add an additional suggestion (or comment on that one) for the other views.

Kind regards,  
Bill

comments: author: Victor Dulepov
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313)   
thanks for the directions, I'll see if I should join that suggestion or add a separate one.   

So far I've opened a support ticket - and they feed me the usual BS "*cannot be done, but try revoking the Add Comment permission from the affected users - they won't be able to comment, and therefore won't be seeing that field anymore* ". ?   

Best,  
Victor


author: Bill Sheboy
body: Yikes! IMO, that seems like an extreme workaround to a UX design defect.


author: RuanH
body: \> So far I've opened a support ticket - and they feed me the usual BS "*cannot be done, but try revoking the Add Comment permission from the affected users - they won't be able to comment, and therefore won't be seeing that field anymore*". ?

Wow... just wow. It's like they don't understand that YOU are the one doing the comments and all you want is more of your screen back to make ***reading*** easier ***until*** you add a comment on the ticket.

I'm thinking of writing a Greasemonkey/Tampermonkey script to solve this until they figure out what their customers actually want... Might share soon.


author: RuanH
body: Here is a proof-of-concept script that can be used to build a Tampermonkey Userscript. Wrapping it inside a \`setInterval\` would be a quick hacky way of making sure it always runs once the comment mode is selected.

```
// find all div's where style contains "sticky"
var stickyDiv = [
  ...document.querySelectorAll('div')
].filter(
  div => (div.getAttribute('style') || '').includes('sticky')
)[0];
// replace sticky with notsticky
if (stickyDiv) {
  var oldStyle = stickyDiv.getAttribute('style');
  var newStyle = oldStyle.replace('sticky', 'notsticky');
  stickyDiv.setAttribute('style', newStyle);
}
```


author: Bibek Behera
body: [@Victor Dulepov](/t5/user/viewprofilepage/user-id/731393) , I doubt if there is any out-of-the-box configuration available for the clients to resize the available iframes or ui stuffs.

-Bibek


Tags: cloud

comment

jira-cloud

screen

sticky

ui