youngmon/atlassian-qna huggingface dataset:
puedo integrar Confluence con Insight CMDB?
Asked by luisa Fernanda:

puedo integrar Confluence con InsighT CMDB?


Answers:
author: Nicolas Grossi
body: [@luisa Fernanda](/t5/user/viewprofilepage/user-id/5509579) Can you elaborate the integration that you want, please ?

Nicolas

comments: author: luisa Fernanda
body: Hello,

I want to replicate insight information in confluence.


Tags: data-center

insight

jira-service-management

jira-service-management-data-center
Buena tarde, quiero saber como puedo migrar un proyecto de Jira Service a otro
Asked by Catastro Tunja:

Tengo un proyecto en Jira Service, el cu?l, requiero migrar a otro Jira donde estoy centralizando toda la informaci?n pero quiero conservar TODA la trazabilidad con sus adjuntos y dem?s.

?C?mo puedo hacerlo?


Answers:
author: Nicolas Grossi
body: [@Catastro Tunja](/t5/user/viewprofilepage/user-id/5525567) You might take a look at this thread information: <https://community.atlassian.com/t5/Jira-questions/Move-project-from-one-instance-to-another/qaq-p/1946170>

HTH

Nicolas


Tags: cloud

jira-service-management

jira-service-management-cloud
PROBLEMS WITH THE APPROVERS
Asked by Lourdes Calderon:

Hi guys, please help me .....

I only need 1 approver for my request but ..by default it appears that 3 approvals are pending...I followed the steps: project settings/workflows/edit service request/choose waiting customer/include approval step/number of approvers (1)/specific number of people ...... but I have the same result....if you guys have some recommendations feel free to let me know, my mail is: lcalderon.ccsperu@gmail.com my plan is for free. Thanks in advance! :)


Answers:
author: Nicolas Grossi
body: [@Lourdes Calderon](/t5/user/viewprofilepage/user-id/5525556) Welcome! Take a look at this link: <https://community.atlassian.com/t5/Jira-Service-Management/How-to-modify-approver-list/qaq-p/2241600>

Nicolas


author: Joseph Chung Yin
body: [@Lourdes Calderon](/t5/user/viewprofilepage/user-id/5525556) -

Welcome to the community. To supplement what [@Nicolas Grossi](/t5/user/viewprofilepage/user-id/676185) suggested, you should also review this reference page - <https://support.atlassian.com/jira-service-management-cloud/docs/set-up-a-pre-set-list-of-approvers/> to ensure your setup is just including one approver.

Lastly, make sure that you also configured the WF properly - See this reference page - <https://support.atlassian.com/jira-service-management-cloud/docs/add-an-approval-to-a-workflow/> Often you customized your WF, but you forgot to publish the changes.

Hope this also helps.

Best, Joseph Chung Yin


Tags: cloud

jira-service-management

jira-service-management-cloud
Scheduling an Action to copy parent labels to sub-tasks
Asked by Brenton Rose:

Good afternoon all, I am struggling with an automation rule that results in success however the action I am hoping to perform is not really happening. Here is what I am trying to achieve.

If a sub-task sits closed or resolved for more than 3 days, I would like to then copy the labels from the parent issue.

I have used the schedule events action with success in the past

I also have a "copy labels" automation that appears to work when creating a sub-task.

However I am not able to achieve this result when attempting both of them together. I am sure I am missing something but hoping someone can help point out what I am doing incorrectly.

I have tried adding in the re-fetch data action but that did not seem to assist. I am including a couple of screenshots for reference.

I appreciate any guidance you can provide. Thanks Brenton

![Screenshot 2024-06-20 at 15.25.05.png](/t5/image/serverpage/image-id/330941i2375C376C400AE9D/image-size/large?v=v2&px=999 "Screenshot 2024-06-20 at 15.25.05.png")![Screenshot 2024-06-20 at 15.25.18.png](/t5/image/serverpage/image-id/330942iA03F524A93C8BE90/image-size/large?v=v2&px=999 "Screenshot 2024-06-20 at 15.25.18.png")

![Screenshot 2024-06-20 at 15.27.28.png](/t5/image/serverpage/image-id/330943iF67100F10B453B65/image-size/large?v=v2&px=999 "Screenshot 2024-06-20 at 15.27.28.png")


Answers:
author: Nicolas Grossi
body: [@Brenton Rose](/t5/user/viewprofilepage/user-id/4432521) Remember to accepted the answer if you agreed.


author: Nicolas Grossi
body: [@Brenton Rose](/t5/user/viewprofilepage/user-id/4432521) You might take a look at this thread: <https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Rule-to-copy-label-from-Parent-when-creating-subtask-not-finding/qaq-p/1421736>

Nicolas

comments: author: Brenton Rose
body: Thank you will take a look...


author: Brenton Rose
body: [@Nicolas Grossi](/t5/user/viewprofilepage/user-id/676185) Thank you, unfortunately I have already tried the re-fetch data. I indeed used that when copying during the creation of the sub task and it did solve the issue. However, it has not seemed to solve the issue in this scenario. Any other ideas?


author: Brenton Rose
body: [@Nicolas Grossi](/t5/user/viewprofilepage/user-id/676185) I believe I just found the issue. I was branching the automation and in this scenario I do not believe this is needed. I have removed the branch and will test tonight to see if it has been fixed. Thanks again for at least trying to point me in the right direction.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Push notifications are not working from mobile app.
Asked by Tyler Giles:

Please see screenshot. Mobile app does have option for "New issues" under PUSH NOTIFICATIONS, but after testing this for my project, this does not send a push notification to my phone with the Jira app.

It does send me a regular notification in the app, and the device settings are not preventing this app from getting notifications at all. I also verified that under general settings in Jira that push notifications are included. The **"Push notifications (Android, iOS)"** setting is turned **ON,**but these notifications are not being pushed at all.

![47166.jpg](/t5/image/serverpage/image-id/330931i830F1A883397ED51/image-size/large?v=v2&px=999 "47166.jpg")


Answers:
author: Nicolas Grossi
body: [@Tyler Giles](/t5/user/viewprofilepage/user-id/5525501) Welcome ! As you have an standard license you might want to contact support.atlassia.com


Tags: cloud

jira-mobile-apps

jira-service-management

jira-service-management-cloud
Copying Fields to Sub-Tasks
Asked by Michael Gaskin:

Hi.

Let's say I have a task with a form attached (linked to Jira fields) that, when created, creates five or so sub-tasks. The task is put into a specific status; let's call it a work in progress. But when the ticket was first created, we didn't have some information for certain fields, so some fields were blank when the sub-tasks were created.

Can a copy function be triggered when a specific field is changed to copy to all sub-tasks when the main task field has been updated? I hope I am making sense.

Thanks in advance.


Answers:
author: Michael Gaskin
body: I guess I could do an automation rule for each specific field (when changed), but that seems like a lot of work....


Tags: cloud

jira-service-management

jira-service-management-cloud
Can I Nest For loops in JMWE?
Asked by Drew:

I'm trying to create a system to automatically assign items to a user based on who has the least amount of assigned items. Below I have the post function and the result of the dumps. It seems like the nested for loop is being executed async, because it dumps the result of the nested loop before any of the dumps that should be executed before it.

One thing I'm absolutely sure of is that the user ID being returned to assign does not have 0 items assigned to them.

Am I doing something incorrectly, or are there just limitations I would have to try and work around to get this to function the way I'd like it to?

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/330927i0E376F1A097F7F0F/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/330929iE53FE593DB5EC112/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Kuan Yi Ming _ServiceRocket_
body: Hi Drew,

There are no issues with using nested for loops in Nunjucks scripts executed by JMWE.

I would suggest troubleshooting these:

1) Print the output of {{allIcsOpenTasks \| length}} and verify the output is greater than 0  
2) Check the output of t\["fields"\]\["assignee"\]\["accountId"\] and see if it actually matches the current role member in the first for loop.

Regards  
Yi Ming

comments: author: Drew
body: Printing out the length of allIcsOpenTasks lead me right to the answer...

Apparently searchIssues(1000, 0, fields="assignee") doesn't work. It was only returning 10 results.

What I had to do was: searchIssues(maxResults=1000, startAt=0, fields="assignee")

when I added maxResults= I noticed it changed the 1000 to green. It seems like it was seeing 1000 as a string until I added the parameter name.

Thank you!!


author: David Fischer
body: Hi [@Drew](/t5/user/viewprofilepage/user-id/3493790)

are you sure this is the exact code you're testing? On the script screenshot I don't see the words "Current user being checked".

Also, don't use the "===" operator but "==". And you don't need "\| dump(2)" to print a string. Finally, the whole point of templating is to avoid having to build strings, so you can do something like:

```
Current task assigned to user: {{t.fields.assignee.accountId}} Current task assigned user: {{currentAccountIdTaskCount}}
```

Can you share the full script as text (inside a "code block" format) instead of a screenshot?

comments: author: Drew
body: Thanks for looking this over and for your suggestions David! Trying out what Kuan suggested lead me to the answer so I'm all set


Tags: addon-com.innovalog.jmwe.jira-misc-workflow-extensions

cloud

jira-service-management

jira-service-management-cloud
Assign queues to specific groups or roles
Asked by Alexis Antonio Arriaga Herrera:

Hello,

I wonder if there's a way to assign queues to specific groups, teams or roles.

i.e. Have 1 team working viewing only their requests and another team seeing only their requests, etc.


Answers:
author: Joseph Chung Yin
body: [@Alexis Antonio Arriaga Herrera](/t5/user/viewprofilepage/user-id/5525436) -

Welcome to the community. To supplement what [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) stated, you can also implement issue security setup where each issue can be tagged with the appropriate security level and restrict visibility of the issues if the users are not called out by the security level.

Here are some referhttps://support.atlassian.com/jira-cloud-administration/docs/configure-issue-security-schemes/ence pages on Issue Security setup -

<https://support.atlassian.com/jira-service-management-cloud/docs/create-security-levels-for-issues/>

Once your Issue Security configuration is setup and associated with your projects, then you can use automation rule to assign the security level if needed -

<https://support.atlassian.com/automation/kb/automation-or-set-issue-security-level-via-automation-for-jira/>

Hope this also helps.

Best, Joseph Chung Yin

comments: author: Alexis Antonio Arriaga Herrera
body: Thanks Joseph, i appreciate it.   

I'll try to set it up like this and run a few testing to see if it feets our needs (i think it does, just wanna se how it works :D).

Thank you so much!


author: Mikael Sandberg
body: Hi [@Alexis Antonio Arriaga Herrera](/t5/user/viewprofilepage/user-id/5525436),

Welcome to Atlassian Community!

Yes, that is possible. Queues are just filters, so you could create a queue that filters out requests that belong to a specific team/assignee if you like.

comments: author: Alexis Antonio Arriaga Herrera
body: Thanks [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) the question was pretty much because i will have different teams working in a project but i don't want them to see other teams items.  

I think Joseph response is a more accurate to my needs.  

Again, thank you so much for your quick response.


Tags: cloud

jira-service-management

jira-service-management-cloud
Alternatives to php://input in capturing Jira information
Asked by alison_perez:

Hi Jira Community,

I am implementing an automation rule that will send an HTTP request to a PHP script. Currently, I am using the command "file_get_contents('php://input')" to capture the Jira data sets in the script.

<br />

I would like to know if there is an alternative to 'php://input'? Is there a way to get the POST array format of the Jira issue?  

Thank you!


Answers:
author: Anusha A
body: Hi Alison,

Thank you for sharing further details. It might be beneficial to explore other alternatives for fetching Jira form details. Your question seems well-suited for the developer community portal, where experts can provide more insights and guidance on this topic. I suggest you to consider posting your query there for a comprehensive discussion and potential solutions-

<https://community.developer.atlassian.com/c/jsm-development>

Regards,  
Anusha A


author: Anusha A
body: Hi Alison,

Welcome to the Atlassian Community support and Thanks for your question!

Based on the information given, I would require further clarification on the overall requirement.

1. Can you specify what the send web request entail and what is the information being transmitted?
2. If you are looking to use a REST API for a **post** command, you can refer to the documentation below -   
   <https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post>
3. Alternatively, if you are developing a custom solution using **scripts** , you can reach out to our developer community via below link - <https://community.developer.atlassian.com/>

I look forward to hearing your response.

Regards,  
Anusha A

comments: author: alison_perez
body: Hi Anusha, thanks for the response:   

1. I need to pass the values of the Jira form to a PHP script. So in the Automation Rule, I have an action part "Send Web Request" which points out to the location of the PHP script.

2. In the PHP script, I am using file_get_contents('php://input') to fetch the values from the Jira form. This one is working.

It came to my knowledge that php://input can be error-prone and as such, I am looking for other alternatives which I can use to fetch the Jira form details.


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I restore the "[System] Change" Issue Type?
Asked by Warren Zingel:

When looking at "Change" request type I can see :

* Issue Type "Invalid Issue Type" and
* Workflow "Invalid Workflow" messages

When I hover the mouse over these I get the messages:

* "This issue type has been removed from the project. Your Jira admin can restore the previous issue type."
* "This workflow is connected to an issue type that was removed from the project. Your Jira admin can restore it."

Can anyone provide any guidance on how the Jira administrator can restore the previous issue type?


Answers:
author: Mikael Sandberg
body: Hi [@Warren Zingel](/t5/user/viewprofilepage/user-id/5525397),

Welcome to Atlassian Community!

If you go to Project settings \> Issues do you see the issue type there? If not, click Actions \> Edit issue types and see if it is listed under Available issue types. If it is, then just drag it over to the Issue Types for Current Schema and save it. If the issue type is not listed under available issue types, that would mean that your Jira admin deleted that issue type for some reason.

comments: author: Warren Zingel
body: Thanks Mikael, luckily the issue type was still available and not included in the schema. Once I had been granted administrative rights I was able to see this.


author: Nicolas Grossi
body: [@Warren Zingel](/t5/user/viewprofilepage/user-id/5525397) Welcome! You might take a look at this link: <https://community.atlassian.com/t5/Jira-Service-Management/Restore-a-deleted-Request-Type/qaq-p/2434263>

Nicolas

comments: author: Warren Zingel
body: Thanks for the reply Nicolas. Luckily I didn't need to look at restoring or recreating the issue type, but the link to the guide would have been useful if I had.


Tags: cloud

jira-service-management

jira-service-management-cloud
Using smart values to set the date with some math operations
Asked by Arne Henrichsen:

Hi,

I am trying to set the start date field based on some other parameter:

```
{{now.withYear(2024).withMonth(1).withDayOfMonth(15).plusDays(issue.Start PI)}}
```

The above works great, but I would like to have the following calculated inside the plusDays function:

> ```
> (issue.Start PI - 3)
> ```

I have tried various variants, but nothing seems to work:

```
{{now.withYear(2024).withMonth(1).withDayOfMonth(15).plusDays({{#=}}{{issue.Start PI}} - 3{{/}})}}
```

or

```
{{#=}}now.withYear(2024).withMonth(1).withDayOfMonth(15).plusDays(issue.Start PI -3){{/}}
```

Any idea how to do this?

Thanks in advance

Arne


Answers:
author: Arne Henrichsen
body: Ok, I never saw in the documentation the minus function, so the following solved my problem without creating another variable;

```
{{now.withYear(2024).withMonth(1).withDayOfMonth(15).plusDays(issue.Start PI.minus(3))}}
```


author: Arne Henrichsen
body: Hi Jovin,

I was looking for something like that, but did not find any info on that. Could you point me to some examples?

comments: author: Arne Henrichsen
body: Just found the CreateVariable action, I will try it now.


author: Jovin
body: Hey [@Arne Henrichsen](/t5/user/viewprofilepage/user-id/5525374)

Have you tried using "Create Variable" action before and performing the "{{issue.Start PI}} - 3" in that action?

Then you can refer to the variable as a number by then going {{smartValue.asNumber}} in the .plusDays?

comments: author: Arne Henrichsen
body: I have create a variable called daysOffset, but it is still not working:

```
{{now.withYear(2024).withMonth(1).withDayOfMonth(15).plusDays({{daysOffset}})}}
```

or

```
{{now.withYear(2024).withMonth(1).withDayOfMonth(15).plusDays(daysOffset)}}
```

On its own, {{daysOffset}} shows the correct number.


Tags: data-center

jira-service-management

jira-service-management-data-center
Rich Customer Conext - Create queues based on customer details - Filters?
Asked by Sean Button:

Hey all,

I'm starting to explore the use of Rich customer context vs just having People as Asset Objects in JSM.

Would anyone have advise on Querying the fields and enhancing Service Management project reporting /filtering capabilities?

Documentation appears a little light so hoping someone might share some real world uses and examples.

Trying to achieve to query all the issues in a project where customer attributes reflect true.

for example

All issues where Reporter's location is emea for example

All issues where department is sales

Any advice is appreciated,

Sean


Answers:
author: Lacy Saute
body: Hi Sean, You can used a JQL query such as *reporter in customerDetail("Location", "EMEA")* or *reporter in customerDetail("Department", "Sales").* [Here is a link](https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#:~:text=Perform%20searches%20based%20on%20the%20customers%20details.,on%20the%20Features%20page%20in%20Project%20settings.) to the related documentation.


Tags: cloud

jira-service-management

jira-service-management-cloud
Receive emails when you make changes to issues
Asked by Rim Ben Rejab:

Hi guys,

in the jira personal notification settings, it is stated that

" Default notification settings apply across your projects. These can be overridden by your email preferences ![scn12.png](https://community.atlassian.com/t5/image/serverpage/image-id/330899iAD2C9F735ED61D7B/image-dimensions/500x293?v=v2 "scn12.png")![scn11.png](https://community.atlassian.com/t5/image/serverpage/image-id/330898iFFFCB905E8093A78/image-size/large?v=v2&px=999 "scn11.png") or by custom project notifications settings."

when i trun the toggle off for "Allow emails for issue activity", as it is stated above, the email notification checkboxes below get turned off, which is logical.

However, for the second option which is "Receive emails when you make changes to issues", whe the toggle is turned off, nothing changes down below.

does anyone know what is the purpose of the second toggle?

I put screenshots to simplify my question:

thanks a lot yall


Answers:
author: Trudy Claspill
body: Hello [@Rim Ben Rejab](/t5/user/viewprofilepage/user-id/5399850)

The second toggle allows you to exclude or include the emails from issue activity where the issue activity was initiated by you, specifically.

If somebody else changes the status, you want to receive an email. But if you change the status, you don't may not want an email about that because you already know about that activity. Turning the second toggle off will prevent the send of an email to you for issue activities you execute.


author: Nicolas Grossi
body: [@Rim Ben Rejab](/t5/user/viewprofilepage/user-id/5399850) You are in the correct path, but the most important part is the notification scheme asosianted to the project that the issues are part of. Check that please.

HTH

Nicolas

comments: author: Rim Ben Rejab
body: hi Nicolas,

thanks for your quick reply, but don't personal email settings override the notifications schemes of projects? \^\^


Tags: cloud

jira-service-management

jira-service-management-cloud
Need an Idea in Automation for Copy Value from Parent
Asked by Santhosh Raj:

I need an Automation rule for copy a Value from One Issue to Another Issue.  

Story:  
Project: Demo  
Issue Type(All Standard Issue type) :

1. Alpha(Parent)
2. Beta
3. Gamma
4. Delta
5. Zeta

Now coming to JSM project. Alpha is the main issue connects other four requests if required. Also we have created a field called "Update Parent key ID: DEMO-127" If the keys matches it will be linked to the parent issue key i.e., Alpha  

Now my requirement needs one more step, i.e., Copy a Field value from Parent Issue to One child Issue (Delta). Added a Field data   
For Example: I have a Project Budget field in Alpha and wanted to copy the value to Delta once Issue is created.   

But the problem is issue key, Since so many issues are creating. We need to match the Parent Issue Key and then copy the value to Delta Issue \[ Field: Copy Budget: \]  

How can we achieve this by Jira Automation ?  

Is there any way for achieving it ? Please attach with a Screenshot if there is way we can achieve ?


Answers:
author: Nicolas Grossi
body: [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233) You might take a look at this link: <https://community.atlassian.com/t5/Jira-questions/How-to-Copy-Custom-field-values-from-parent-to-child-with-Jira/qaq-p/2672947>

Nicolas


Tags: cloud

jira-cloud

jira-service-management

jira-service-management-cloud

jira-software

jira-work-management-cloud
Why are my branch restrictions not preventing a PR merge?
Asked by Gerard McHale:

As shown in the screenshot below, I have set up branch restrictions in my Bitbucket repository.  

However, I can still merge a PR to the staging branch even when the restrictions have not been met. I know that these restrictions used to work. Has something changed that is now preventing these restrictions from taking effect?  

<br />

![branch restrictions.png](/t5/image/serverpage/image-id/296832iAEA0D7C66D91DAC7/image-size/large?v=v2&px=999 "branch restrictions.png")


Answers:
author: Gerard McHale
body: This was a mistake on my part so the question can be ignored. I couldn't find any option to delete the question.


Tags: bitbucket-cloud

cloud