youngmon/atlassian-qna huggingface dataset:
It is possible to create a service through the api
Asked by Oliver Wood:

In the schemas i can see there is by default a Services schema, you add manually services to this or you can add services through service desk manually and they are pulled into this schema

what i cant do is to create a service via an api call, if i use the asset api i get a forbidden 403 and the Services schema is locked and readonly.

Is there a way to create a service via an api call.


Answers:
author: Samuel Weiss
body: Yes, its possible with GraphQL.

<https://developer.atlassian.com/platform/atlassian-graphql-api/graphql/>

Here a sample:

```
mutation CreateService ($input:CreateDevOpsServiceInput!) {
    createDevOpsService(input: $input) {
        success
    }
}

Variable:
{
  "input": {
    "cloudId": "yourCloudId-a457-4b6e-ac0b-....",
    "name": "Name of Service",
    "description": "Description",
    "properties": [
      {
      "key": "stakeholders",
      "value": {}
      }
    ],
    "serviceTier": {
      "level": 3
    },
    "serviceType": {
      "key": "BUSINESS_SERVICES"
    }
  }
}
```


author: Zoey Wang
body: Hi [@Oliver Wood](/t5/user/viewprofilepage/user-id/3065587)

This should be able to help you

<https://confluence.atlassian.com/jirakb/how-to-create-assets-objects-via-rest-api-based-on-different-attribute-type-1157475506.html>   

shows step by step asset creation via REST api.   

Any other questions please call out.

comments: author: Oliver Wood
body: Thank you very much for that, however i know i can create objects via api to schemas i have created, but the Services(SVC) comes out of the box and when i try to create an object in that schema error i get a 403 forbidden error.

So my question was is it possible to create services in that schema via api or is it the fact that its locked down means it not possible to do so?


author: Keith Croxford
body: I'm running into the same problem. 403 with this type of error response  

{"errorMessages":\["Sorry, you do not have permission to perform this action. PermissionInsightException: User REDACTED didn't have correct permission (create object) for object type: NUMBER"\],"errors":{}}


author: Keith Croxford
body: Based on some web request captures, I do see that it is *possible* to use the graph API ( operationName":"***gqlJiraJsmServicesCreateDevOpsServiceMutation***") to POST and create the service object, however I cannot find any documentation that shows this as a supported approach.


author: Zoey Wang
body: Hi [@Oliver Wood](/t5/user/viewprofilepage/user-id/3065587) / [@Keith Croxford](/t5/user/viewprofilepage/user-id/5472729)

It may be possible to post Services via [Opsgenie Service API.](https://docs.opsgenie.com/docs/service-api#create-service)

Haven't tried that before.

Please note: "Create service request is used to add new services for teams and it is a **write** request. If the integration of the API key configured as read-only, the request will not be accepted."

Hope it helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
Confirmation email is sent to everyone. How to stop this?
Asked by Marios Theodoulou:

Hi all,

When a request is raised the confirmation email is sent to everyone in the organisation.

How can I isolate this and the confirmation email is sent only to the requestor?

Thank you in advance for your support.

Kind regards,

Marios


Answers:
author: Dan Breyen
body: Hi [@Marios Theodoulou](/t5/user/viewprofilepage/user-id/5373136) welcome to the community! If you're the System Administrator, the first thing I would check is looking at Settings (The Gear) / Products then under 'Jira Service Management' on the left hand side, select 'Configuration'. There should be a question under 'Organization management': "Should new requests automatically be shared with a customer's organization?" This is probably set to 'Yes' on your site. Turning that off should change the emails going out. I believe this is on by default.

Hope that helps.

comments: author: Marios Theodoulou
body: Hi Dan,

Thank you for your support!

One clarification thought, what's the difference between what you described and the option below:

If you go to your Project Settings \> Customer Notifications \> Organisation Added - Disable the notification

Thanks,

Marios


author: Dan Breyen
body: It's my understanding that other option is used when the user uses the 'Share With' option and choose their Organization to share with. You can turn off that functionality so the emails won't go out if the user chooses to share with their organization.

The configuration option does is Automatically, the second option under 'Organization Added' is a choice the reporter makes.


author: Marios Theodoulou
body: Great thank you, so I understand that by disabling both features:

1) emails wont go to all the organisation member but instead only to the requestor

2) requestor wont be able to choose to share with all organisations the issue

correct?


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira Service Management Queues not loading for some users
Asked by Albert Manuel:

Hello,

We have a strange problem with some users. For some of them, starting today, the queues in Jira Service Management (it doesn't matter which project) don't load.

We managed to resolve the problem by changing the language from our (Romanian) to English and now it seems like it's working, but we don't understand the reason - if we revert it back to Romanian, it doesn't load.

I cannot find anything in the logs...or in the console.

We had these users with the Romanian language setup and working for more than 2 years.

Any thoughts or suggestions where to look?

Thanks,


Answers:
author: Marc - Devoteam
body: Hi [@Albert Manuel](/t5/user/viewprofilepage/user-id/1194936)

If you choose another language than Romanian, does the same issue occur?

Or check if you don't have symptoms as in the following [article](https://confluence.atlassian.com/jirakb/jira-service-management-queues-are-missing-disappeared-or-are-empty-1072212462.html)

Otherwise I would raise this at Atlassian regarding this.

comments: author: Albert Manuel
body: The point is that is not like staying empty...like is trying to load (that circle is spinning) and then blocks and stays blocked. Nothing in the console...all 200 codes...

I will try with another language on a user that has this problem.


Tags: data-center

jira-service-management

jira-service-management-data-center
Does the variable ${recipient.name} shows all recipents of the message or just one?
Asked by Nahuel Logghe:

Hello everyone,

I'm in the process of setting up a notification email for a project. For the message's recipients, I'm targeting "customers involved," which includes both the reporter and any request participants.

I'd like to include a mention of the recipient's names (including all the customers involved) within the notification's content. Will `${recipient.name}` do the trick? If not, is there any other way?


Answers:
author: Kris Dewachter
body: Hi [@Nahuel Logghe](/t5/user/viewprofilepage/user-id/5433828) ,

`${recipient.name}` will just return 1 name (of the person to who the message is directed).

I don't think there is a smart value to list all the recipients.

In the portal, the people involved are mostly the reporter and the request participants. You could use this smart value to retrieve those :

```
{{issue.Request Participants.displayName}}
```

Hope this helps.

Best regards,

Kris

comments: author: Nahuel Logghe
body: Hi Kris,

Thanks for your reply.

I tried that, but the customer notifications don't allow smart values.

You can insert variables from a dropdown but I don't have any for what I want.

If I use a smart value it only shows it as plain text:

![2024-02-28_11-45-31.png](https://community.atlassian.com/t5/image/serverpage/image-id/309168i611E9A8AACCB4460/image-size/large?v=v2&px=999 "2024-02-28_11-45-31.png")![2024-02-28_11-47-32.png](https://community.atlassian.com/t5/image/serverpage/image-id/309167iEE3F7A81B7CFD6E6/image-size/large?v=v2&px=999 "2024-02-28_11-47-32.png")

Unless I'm doing something wrong? Is there any other way to insert the smart value?


author: Kris Dewachter
body: Hi [@Nahuel Logghe](/t5/user/viewprofilepage/user-id/5433828) ,

You are right, the customer notifications can not handle smart values.

As a workaround, you could disable the specific customer notification, and create an automation rule that will handle sending the email.

The action in the automation rule would look something like this:

![Screenshot 2024-02-28 at 21.32.40.png](https://community.atlassian.com/t5/image/serverpage/image-id/309308i1678C9AD1477D07C/image-dimensions/385x403?v=v2 "Screenshot 2024-02-28 at 21.32.40.png")

Best regards,

Kris


author: Nahuel Logghe
body: Hi Kris,

Thank you for the help. Yes, I think this is the only solution.


Tags: cloud

jira-service-management

jira-service-management-cloud

notification
Automation about "Attach form"
Asked by ?????:

I want to use the automation action "Attach form" to attach a form in the Customer Portal after triggering it.  
But I don't know how to attach the form locked for editing by customer.

If this isn't an option, got any ideas?

![image.png](/t5/image/serverpage/image-id/308873i346B0ADE98234EEE/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/308876i1F01E9A70F716703/image-size/large?v=v2&px=999 "image.png")


Answers:
author: ?????
body: I was able to control it using the REST API?


author: Olha Yevdokymova_SaaSJet
body: Hello [@?????](/t5/user/viewprofilepage/user-id/5300527)

I may proposed you add-on developed by my team [Smart Jira Forms.](https://marketplace.atlassian.com/apps/1227085/smart-jira-forms?hosting=cloud&tab=overview&utm_source=Atlassian_community&utm_medium=refferal&utm_campaign=Comment_Automation-about-quot-Attach-form-quot_20240310) With this add-on you have possibility to automatically add forms to predefined Jira issues.   

[Smart Jira Forms](https://marketplace.atlassian.com/apps/1227085/smart-jira-forms?hosting=cloud&tab=overview&utm_source=Atlassian_community&utm_medium=refferal&utm_campaign=Comment_Automation-about-quot-Attach-form-quot_20240310) allows you to automatically add specific forms to designated Jira issue types upon creation. This eliminates the need for the "Attach form" automation altogether.

Here's the benefit:

**Automatic Form Addition:** Choose specific issue types and configure Smart Jira Forms to automatically attach the desired locked form when an issue of that type is created.  
Additional Advantages of Smart Jira Forms:

**Predefined Forms:** Guide users to provide specific and relevant details with pre-built forms.  
**External User Sharing:** Share the automatically added form with external users for their input directly within the Jira issue.  
**Data Capture Efficiency:** Auto-populate forms with existing Jira issue field values to avoid repetitive data entry.  
**Dynamic Forms:** Tailor custom questionnaires with conditional logic, making the form adapt based on user input.  
**Draft Saving**: Users can save forms as drafts and return to complete them later.


Tags: automation

cloud

form

jira-service-management

jira-service-management-cloud
Automation approval trigger missing
Asked by Paul Cope:

I have updated to the latest version of SDM (datacenter)

I have a workflow that requires multiple approvals from different people.

I'm trying to follow this atlassian [guide](https://confluence.atlassian.com/jirakb/how-to-use-the-approval-complete-trigger-with-workflows-that-have-multiple-approval-steps-1167732088.html)

On the following part

Approval Completed Automation

It requires using an "Approval Completion" trigger.

But I do not have an approval completion trigger in the list.


Answers:
author: Jerrold - Empyra
body: Hi  
The guide mentioned in the question is actually intended for cloud deployment, not for datacenter servers.  
![cloud.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/308884i78ACB58CF793AFC3/image-size/large?v=v2&px=999 "cloud.PNG")  
You may refer to the Jira ticket that contains the request to Add Approval complete automation trigger into Jira Service Desk Server.  
<https://jira.atlassian.com/browse/JSDSERVER-6030>  
Thank you.

comments: author: Paul Cope
body: Well, thats just rude.. Now they are just releasing features to the cloud and ignoring supported platforms...


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Automation for time stamp field based on ticket's created time
Asked by Tomasz Bis:

Hi all,

I am trying to automate 'time stamp' field vs ticket 'created time'.

Long story short...

We have a ticket type, 'A' with 'Time of change' field (time stamp) that is manually filled in by users.

What I am trying to do is, to get this field, filled in automatically based on ticket created time.

In summary, Time of change' field (time stamp) in ticket type 'A' equals 'created time' of the same ticket.

Is it doable please?

Many Thanks


Answers:
author: John Funk
body: Hi Tomasz,

Try adding an automation rule for Issue Created trigger.

Add any conditions needed so it does fire this for every single issue created in your system! Or leave as a single project rule if you want to do for everything on just that project.

Then add an action for Edit Issue and select the Time of Change field. In the space provided, but in {{now}}.

Or Edit the workflow used by the project, and add a post function to the Create transition. Select Update issue custom field. Select the field and then put %%CURRENT_DATETIME%% in the Custom Field Value box.

comments: author: Tomasz Bis
body: Hi John,

I have tried option 1 and it worked for me!

Thank you very much! :)

Tomasz


author: John Funk
body: Great! Glad it helped!


Tags: cloud

jira-service-management

jira-service-management-cloud
The email was sent empty without an issue name.
Asked by Salma Sobhi:

![WhatsApp Image 2024-02-18 at 11.32.54 AM.jpeg](/t5/image/serverpage/image-id/308864i668242B2FE51692E/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-18 at 11.32.54 AM.jpeg")![WhatsApp Image 2024-02-27 at 12.04.34 PM.jpeg](/t5/image/serverpage/image-id/308865iABB6FCAE1CD95D92/image-size/large?v=v2&px=999 "WhatsApp Image 2024-02-27 at 12.04.34 PM.jpeg")


Answers:
author: John Funk
body: Hi Salma,

Can you send a screenshot of the actual JQL query?

But I suspect you just need to put quotes around Start date like this: ("Start date" \<=

comments: author: Salma Sobhi
body: "Start date" \<= endOfDay({{numberOfDaysBeforeStartInclusion}}) AND statusCategory != done AND assignee != empty

The email is sent every day, even after the task start day is over.


author: John Funk
body: So, do you still get the error now?


author: Salma Sobhi
body: yes


author: John Funk
body: Please post a screenshot of the error you receive and the actual rule.


author: Salma Sobhi
body: The problem that it appears empty has been solved.

<br />

But there is a problem: it sends an email daily, even if the start day is over. How can I solve it and let it be sent on the same day only?


author: John Funk
body: Change the \<= endofDay to just = endofDay


author: Salma Sobhi
body: OK  
If I want to send it but without sending the issue (tasks) what is in the pending column


author: John Funk
body: I am not sure what you are asking. How can you send it without sending the issue?


author: Salma Sobhi
body: The mail is sent with the issue at any status till Done; I need to send all issues on all status except pending status or cancel status.


author: John Funk
body: "Start date" = endOfDay({{numberOfDaysBeforeStartInclusion}}) AND statusCategory != done AND Status not in (Pending, Cancel) AND assignee != empty


Tags: cloud

jira-service-management

jira-service-management-cloud
reduce weekly working hours (part time worker)
Asked by Carina Munzert:

Hi,

I'm working part time with 24 hours per week. In tempo timesheet, a 40 hours week is set and I have always a big gap at month end. It's not a huge problem, but I would like to know, if I can reduce the working hours in the setting somewhere? I looked already, but couldn't find it. Maybe I was just not checking in the right corner :-) A little hint is very much appreciated!

Thanks and best regards, Carina


Answers:
author: Tansu Akdeniz
body: Hi [@Carina Munzert](/t5/user/viewprofilepage/user-id/5439416)

Welcome to the community.

Please check this KB: [Creating Workload Schemes](https://help.tempo.io/planner/latest/creating-workload-schemes)


author: Marc - Devoteam
body: Hi [@Carina Munzert](/t5/user/viewprofilepage/user-id/5439416)

Yes as [@Tansu Akdeniz](/t5/user/viewprofilepage/user-id/472390) mentions, a separate Workload scheme can be created, but only if you have Tempo Planner.

With just having Tempo Timesheets, you can adjust the user commitment setting on the user in Tempo.

See [adding-members-to-and-removing-members-from-tempo](https://help.tempo.io/timesheets/latest/adding-members-to-and-removing-members-from-tempo-)


Tags: cloud

jira-service-management

jira-service-management-cloud
SLA goal limit unit other than hours
Asked by Loic Mollet:

Hello everyone

Concerning the SLAs, by default the goal limits are in hours. For example, the request must be taken into account in less than 48 hours, and must be solved in less than 480 hours (4 x 5 days with 8 hours per day).

Is it possible to set a goal limit with weeks, months, or even years values ?

For example, a high priority request must be solved in less than 1 month, whereas a low one must be solved in less than 6 months. So for a low priority request created on 02/27/2024, it should be solved before 08/27/2024 = 6 months.

So could we set the goal with a value such "6mo", or this unit is available only for displays ?

Or maybe with something like {{issue.created.plusMonths(6)}} ?

Thanks for your feedback


Answers:
author: Tansu Akdeniz
body: Hi [@Loic Mollet](/t5/user/viewprofilepage/user-id/5439388)

Welcome to the community.

It is not possible to use months while defining [goals](https://confluence.atlassian.com/servicemanagementserver0510/setting-up-slas-1271269447.html).
> When specifying SLA goals that use a fraction of an hour, write the time as **Xh Ym** (for example, **3h 30m**). You can write SLA goals as hours and minutes, but not days.

comments: author: Loic Mollet
body: Thanks for first answer. Do you know if it is possible to use things like {{issue.created.plusMonths(6)}} ?

Or use values like due date ?


author: Tansu Akdeniz
body: It is not related to SLA time targets. It is smart value that can be used in Automation for different purposes such as set Due Date field to 6 months ahead after creation..

For your case, just convert months to hours for SLA goals.


author: Loic Mollet
body: ok, thanks for quick confirmation


Tags: cloud

goal

jira-service-management

jira-service-management-cloud

sla

unit
email notification
Asked by Rosy:

while cloning a story, i want to make sure email notification is not getting trigerred to earlier signed off stakeholders


Answers:
author: Emily _ DevSamurai
body: Hi [@Rosy](/t5/user/viewprofilepage/user-id/5439399)

Welcome to the Community!

<br />

To prevent email notifications from being triggered to earlier signed-off stakeholders when cloning a story in Jira, you may need to:

* Review notification settings to ensure they are configured appropriately.
* Check cloning options and avoid selecting options that could trigger unnecessary notifications.
* Review and adjust watchers and assignees to include only relevant stakeholders.
* Customize the notification scheme if needed to tailor notifications based on specific events and user roles.

I hope this will help!


Tags: jira-service-desk-unknown-hosting-type

jira-service-management
How to point a domain to bitbucket.io static site?
Asked by pavolg:

How do I point mydomain.com to bitbucket host with a static bitbucket site?

Followed these steps to create a static bitbucket site: <https://support.atlassian.com/bitbucket-cloud/docs/publishing-a-website-on-bitbucket-cloud/>

And now I need to point my domain to this site. What are the steps?

What are the CDN and nameserver settings for bitbucket.io pages?


Answers:
author: Patrik S
body: Hello [@pavolg](/t5/user/viewprofilepage/user-id/5117815) ,

Welcome to Atlassian Community!

Currently, it's not possible to configure custom domains for bitbucket static websites. We already have a feature request for that functionality, which you can find in the following link:

* <https://jira.atlassian.com/browse/BCLOUD-11257>

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@pavolg](/t5/user/viewprofilepage/user-id/5117815) .

Patrik S


Tags: bitbucket-cloud

cloud
Recent Hack At GitHub
Asked by Andrew Liew:

Hi Atlassian team,

I would like to know the action plan (any required) by Atlassian team with regards to the recent GitHub hack from which the private repositories were stolen.

GitHub claims that their staff tokens were obtained and used by unknown threat to access the private repositories.

Do our private repositories have the same risk?

Thank you.

Andrew


Answers:
author: Raimon Colmenares
body: That's a good question. I would like to learn more about this and how to prevent it too.


Tags: bitbucket-cloud

cloud
No response to sales enquiry via Atlassian website
Asked by Neil Murray:

Hi,

Both myself and a colleague have recently contacted Atlassian with a pre-sales enquiry via the form on the Contact Us area of the website. Neither of us have received a response.

Specifically, my IT dept have asked me to enquire whether running BitBucket Data Centre on the same physical hardware as an instance of RStudio Team server would present any support issues?

Can anyone help?

Thanks

Neil


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

It should not present you with any problems as long as

* The machine is powerful enough to run both services at the same time
* You don't tell Bitbucket to run on the same port(s) as RStudio Team server
* There is nothing entwined - no shared directories for example

comments: author: Neil Murray
body: Great, thankyou [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)


Tags: bitbucket-server

server
Input lag when commenting on pull requests
Asked by Chris Richner:

We have noticed when commenting on Pull Requests, if we start to show some of the hidden lines there is a delay between typing our comment and when it actually appears on screen in the comment box. The more hidden lines revealed, the slow it gets.

When we first open the pull request, there is no delay. It seems to only start after showing the hidden lines. This happens for multiple users in Chrome, Chrome incognito, Edge, and Firefox. Computers are all Windows 10 22H2. Currently on Atlassian Bitbucket v7.9.0.

Anyone else seeing the same behaviour or have any ideas how to solve it?


Answers:
author: Chris Richner
body: In case anyone else comes across this, we found our answer in [BSERV-12580](https://jira.atlassian.com/browse/BSERV-12580), the resolution is to update to a newer version.


Tags: bitbucket-server

server