youngmon/atlassian-qna huggingface dataset:
Status category track Automation for JIRA
Asked by Masudur Rahman:

Hi,   

**Can I have check all yellow/color status to green/color status instead of individual status as the trigger?**

I want to have an automation rule execute when the issue status \[In Progress\] to \[Done\]. I can add trigger \[In Progress\] to \[Done\], but my requirement is to check all yellow category status like "In Progress" to green\[Done\].

Thanks  
Masud


Answers:
author: Bill Sheboy
body: Hi [@Masudur Rahman](/t5/user/viewprofilepage/user-id/3891273)

Are you asking if there is a trigger on StatusCategory changing? If so, the answer is "not yet". There is an item in the Code Barrel backlog to add this:

<https://codebarrel.atlassian.net/browse/AUT-1722>

There are a couple of work-arounds, depending upon how often you want to update and other field usage:

* If you are using the resolution field, you can trigger on a change to that field to detect issues moved to a "done" category field, or...
* If you do not need to immediately execute the rule, you can use a scheduled rule with JQL detecting changes to status category within recent time. For example:

```
project = myProject
 AND statusCategoryChangedDate >= -1h
 AND statusCategory = "Done"

```

Best regards,

Bill

comments: author: Masudur Rahman
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313)

Thank you for the quick reply, Yes, was looking for a status category trigger.

The workaround can be done by a scheduled trigger which will have some delay and we want to have real-time instead of scheduled.

Thank you.  
Masud


author: Bill Sheboy
body: Thanks for confirming...

There is a 3rd work-around to just check for a status change (transition) and then follow that with a condition check on status category. That should do what you want immediately after a change.

__Bill


author: Masudur Rahman
body: Thank you very much. :)


Tags: addon-com.codebarrel.addons.automation
about the plugin server license
Asked by duchun:

feb 2021, the server license would be stopped.

for the plugin?could we still buy the plugin license?


Answers:
author: Dirk Ronsmans
body: Hi [@duchun](/t5/user/viewprofilepage/user-id/3774987) ,

According to the full anouncement <https://www.atlassian.com/migration/key-offering-changes?tab=server-dates#important-dates> you can still buy new app licenses up to 2023.

From 2022 you will no longer be able to change user tiers but you should be able to buy new apps for your existing tier up to feb 2023

Your existing apps will still be renewed/renewable up to feb 2024


Tags: cloud

confluence

jira
"Epic Link" != "A given Epic Link" does it include tasks without Epic Link
Asked by Iana:

If I set up a condition that says "Epic Link" != "A given Epic Link" will tasks that have no Epic link (thus that have the Epic Link field on null or Empty) result in true for that condition?


Answers:
author: Bill Sheboy
body: Hi [@Iana](/t5/user/viewprofilepage/user-id/4087588)

I would think "no" as an empty epic link is empty; it does not have a value to compare. Have you tried this and seen something different?

One way to work-around this is what people do with a JQL condition:

project = myProject AND ("Epic Link" != myEpicKey OR "Epic Link" IS EMPTY)

Best regards,

Bill

comments: author: Iana
body: Hi Bill, thanks for your reply. I suspected that was the problem, but wanted to get confirmation.
How to Modify a parent issue with a value from a child issue
Asked by Cornelia Richter:

Hi,

I have the following problem:

A parent is having several linked children (not subtasks). The parent and the children have a field "Due Date". The parent shall always carry the latest Due Date of all of the children. If a child gets a later Due Date, then it's easy to check if that child's due date is later than the parent's due date and the parent's due date can be updated accordingly.

But if a child's due date is set earlier than the parent's due date, then I need an automation that checks all children's due date and sets the parent's due date to the latest one.

I don't see that this is possible with automation for Jira since I cannot change a value of the triggerissue with the value of the linked issue.


Answers:
author: Bill Sheboy
body: Hi [@Cornelia Richter](/t5/user/viewprofilepage/user-id/3945932)

To clarify what you are trying to do, would you please explain:

* When you indicate parents and children, not sub-tasks, do you mean Epics and Stories or Bugs? Or some other way of organizing the issue relationships?
* Why do you need to perform this additional check for earlier Due Date values? If you check any created or edited issue for a Due Date later than the linked issue's (parent), wouldn't the later date would always "win".

Best regards,

Bill

comments: author: Cornelia Richter
body: 1. these are linked issues.

2. I need to check any existing linked child issue (without editing) which one is the onr with the latest due date in order to copy that information to the linked parent


author: Bill Sheboy
body: Thanks for that information, [@Cornelia Richter](/t5/user/viewprofilepage/user-id/3945932)

You are using links rather than the built-in parent/child relationships, so you can use JQL in a branch to find the related items. You can then test if the "child" items have a later date and update the "parent". With the server version, if you need any temporary storage during the rule execution, consider adding custom fields or properties to help. (With cloud version, you could instead use Create Variable.)

For any linked children added before the rule was created, you could use a one-time rule with a scheduled trigger (or a manual trigger) to find and update the parent for those children as well.

One good way to get help on rules is to build the rule, note what is/is not working, and then post an image of the rule in your question. That will help the community provide more targeted ideas for you.

Thanks,

Bill


author: Cornelia Richter
body: thanks for answer, I have considered the mentioned solution already.

I will post a snip of the automation next time


author: Ankita Sen Roy
body: Hi [@Cornelia Richter](/t5/user/viewprofilepage/user-id/3945932) it would have been really helpful to have the snip of it.

I know its long ago - a snip or the JQL would have helped me solved my issue.

Thanks,

Ankita Roy


author: Laura Campbell _Seibert Media_
body: Hi [@Cornelia Richter](/t5/user/viewprofilepage/user-id/3945932) are you on Server/DC or Cloud?

comments: author: Cornelia Richter
body: Server
How to create sub-statuses for status in a issue.
Asked by Nero Mars:

Hello, friends!  

How to create sub-statuses for status in a issue?  
I just need to split the status into subtasks.  

I will be glad for your help!


Answers:
author: Bill Sheboy
body: Hi [@Nero Mars](/t5/user/viewprofilepage/user-id/4167309)

What problem are you trying to solve?

When you need multiple status values per column on the board, you may add additional status values and map them to a board column. When updating an issue with drag-and-drop, you will see the available status values in the column so you can just drop on the one you want.

Best regards,

Bill

comments: author: Nero Mars
body: Thnaks, Bill!  
I think I figured out how to solve this :)


Tags: cloud

jira
Why does creating a clone via Automation not produce a "clones" Link between the 2 issues?
Asked by Rodney Dsouza _Atlassian Certified Expert_:

I semi-successfully automatically clone my issues on a daily, weekly or monthly basis - depending on whether the issue has a "dailyrepeating", "weeklyrepeating" and "monthlyrepeating" Label.

The problem I have is that there is no "clones"/"is cloned by" Link created by Jira/Automation. This seems like BUG (I would like it to work like any other clone action). IS THIS A BUG or a FEATURE?


Answers:
author: Ivan Lima
body: HI [@Rodney Dsouza _Atlassian Certified Expert_](/t5/user/viewprofilepage/user-id/1543949), assuming you're using the Clone issue action, this action will not clone issue links, comments or attachments by design. You can set additional fields, including linked issues, along with other parameters as you see fit. Have a look at the automation actions docs:

* <https://support.atlassian.com/jira-software-cloud/docs/automation-actions/>
* <https://confluence.atlassian.com/automation/actions-993924834.html#Actions-cloneissue>

I hope that helps,

IL.

comments: author: Rodney Dsouza _Atlassian Certified Expert_
body: Thanks much for your answer. Looking at the documentation for the clone automation it does say it is not a true clone.

By the way "this action will not clone issue links, comments or attachments by design" - I checked just now and there built-in clone also does not clone comments or attachments, so only issue links are missing from those 3. Of course, there could be other differences too. I am just documenting here for whoever has the same question as me in the future.

To create a Link between the 2 issues, I believe the only way to do that in Automation is to create a new 'Link Issues' Action and set the set the reference issue to 'Most recently created issue' (and not 'Trigger issue'). Trying to set fields for linked issues will not meet the intent of setting the correct issue link since I think it would be just like copying any links on the original issue (nothing to do with the current cloning action).


author: Marlene Kegel - codefortynine
body: If your use case is not possible with Jira Automation, you can also have a look at our Jira cloud app [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652/deep-clone-for-jira?hosting=cloud&tab=overview&source=community101).

* You can automatically trigger clones by creating a post-function
* You're flexible to decide whether you want to create a "is cloned by/clones" issue link when cloning.

![deep-clone-jira_add-issue-link.png](https://community.atlassian.com/t5/image/serverpage/image-id/120360i2C81FD6F010323A3/image-dimensions/581x259?v=v2 "deep-clone-jira_add-issue-link.png")
How to attach sub-workflows to statuses of the main workflow ?
Asked by Nero Mars:

Hello friends! I have another problem.  

I have 5 workflows that are included in the same workflow schema.  
One of the workflows is the main one. The other 4 are as sub-workflows that correspond to each status in the main workflow.  

I need these 4 workflows to be associated with the statuses of the main workflow. That is, when I create a issue, it should have the first status of the first sub-workflows.  
Further, it is also necessary that there was a transition from the last status of a sub-workflow to the first status of the next sub-workflow.  

I think it can be done with groovy (may be by post functions), but have no idea how to implement it.  
Perhaps I did not fully describe everything. I can tell you in detail if you need.  

I will be glad to receive your answers!


Answers:
author: Nic Brough -Adaptavist-
body: There is no such thing as sub-workflows as you have defined them here. By definition of status, an issue can only be in one istatus at a time, otherwise your reporting on status is nonsense.

You will either need to define your status as a single level and then build something that groups status together (similar to the status category that jira has already) or start breaking your issues down into sub-tasks that block the movement of their parents forward until they are complete.

comments: author: Nero Mars
body: Thanks Nic!  
I think I figured out how to solve this.


Tags: jira
Jira Automation DevOps triggers are not working
Asked by Lindsey Dunphy:

My Jira project is integrated with Github and when referencing a Jira Issue in commit/branch/pull request, the Development Panel shows up as expected. However, when I try to use a DevOps trigger, such as Branch Created, Pull Request Created, or Pull request Merged, the automation rule is not being triggered.

Thoughts?


Answers:
author: Liam Green
body: Hi [@Lindsey Dunphy](/t5/user/viewprofilepage/user-id/4100491)

Welcome to the Community!

There is currently an ongoing incident with Automation that may be affecting you.

You can find more information on the Status page for Atlassian here: <https://status.atlassian.com/>

Hope that helps,

Regards, Liam

comments: author: Lindsey Dunphy
body: Thank you for informing me.
Is automation currently down?
Asked by Panama:

I checked the status using [https://status.automationforjira.com/](https://status.automationforjira.com/?)

It says everything is operational but my rules are not being triggered.


Answers:
author: Jose Luis Lopez
body: I'm having the same issues but not in all automations


author: Dirk Ronsmans
body: That would be yes :)

you can follow it here: <https://jira-core.status.atlassian.com/incidents/wl7hhshprv4y>

there is an active incident

comments: author: Dirk Ronsmans
body: You can always follow all issues at <https://status.atlassian.com/>
NoClassDefFoundError running Automation for Jira
Asked by Shane Fitzgibbon:

Whenever an automation rule is triggered it fails with the following message:

Unexpected error executing rule:java.lang.NoClassDefFoundError: com/codebarrel/automation/api/thirdparty/AutomationRuleComponent


Answers:
author: Bill Sheboy
body: Hi [@Shane Fitzgibbon](/t5/user/viewprofilepage/user-id/898789)

Would you please post an image of your rule and audit log for the rule? That will help the community offer you ideas. Thanks!

Best regards,

Bill

comments: author: Shane Fitzgibbon
body: ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/119530iE6DDFE1661616CF5/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/119531iEBC95BB721FDBABF/image-size/large?v=v2&px=999 "image.png")


author: Bill Sheboy
body: Thanks for that info!

There appears to be a problem with the contents of your edit or the smart values. Please post the text that is in your edit of the summary field as it is truncated in the image.


author: Bilal Mustafa
body: Hey Bill,

Having a very similar issue. Seems like the automation is failing for some unexpected reason. I've ran the same 'test' rules on another instance of Jira and they worked. Seems like Jira Automation Lite doesn't like the possible tech drift between the two and is therefore blocking me.

![Screenshot 2021-12-12 at 23.25.52.png](https://community.atlassian.com/t5/image/serverpage/image-id/173567i7D5AA4A567F686A2/image-size/large?v=v2&px=999 "Screenshot 2021-12-12 at 23.25.52.png")


author: Bill Sheboy
body: Hi [@Bilal Mustafa](/t5/user/viewprofilepage/user-id/4670317) -- Welcome to the Atlassian Community!

It appears you are using Jira Server/Data Center, correct? If so, you may want to work with your site admin to contact support for an error like that: <https://support.atlassian.com/contact/#/>

For Cloud, I have only seen posts for that error as an intermittent problem. For Server, it may be a problem after an update to the addon app.

Kind regards,  
Bill


author: Bilal Mustafa
body: Just a quick update, clearing the cache of the jira box helped! You want to remove the '.osgi-plugins' and the '.bundled-plugins' folders.


Tags: cloud
Get current user for an automatic Insight rule
Asked by Marcelo Monta?o S?nchez:

I have an object with an attribute of type User. When the object is updated, I have to set in the attribute the value of the current user.  
I am using "Attribute Value" rule and placeholders (assignee, reporter) to get the value, however I am not getting the current user value.

What placeholder should I use?

Thank you.


Answers:
author: Bill Sheboy
body: Hi [@Marcelo Monta?o S?nchez](/t5/user/viewprofilepage/user-id/4065095)

When you note "current user", who do you mean?

For rules triggered on automation action, I believe the actor is the automation user. For manually triggered rules, you can get that person with {{initiator.displayName}}

Best regards,

Bill


Tags: cloud

insight

jira-service-desk
Clone an issue do not transfer attachments
Asked by carlos.sanchez:

Hello all,

I've been always using "legacy automations" in Jira Cloud. Now I've started using the new "Automations" and they are really nice but when I clone any ticket from the automation, the attachments aren't also transferred is it a bug? Am I missing something?

Thank you, kind regards.

Carlos.


Answers:
author: Marlene Kegel - codefortynine
body: Welcome to the community, [@carlos.sanchez](/t5/user/viewprofilepage/user-id/4158195).

If you want to clone issues including attachments, you can try our Jira cloud app [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652/deep-clone-for-jira?hosting=cloud&tab=overview&source=community99).

You can also automate cloning by creating a Deep Clone post-function.

Don't hesitate to [get in touch with our support](https://codefortynine.atlassian.net/servicedesk/customer/portal/1/group/1/create/9), if you have questions or feedback.


author: Tom Williams
body: Not what you want to hear but this feature is on Automation backlog: [https://codebarrel.atlassian.net/browse/AUT-1030](https://codebarrel.atlassian.net/browse/AUT-1030?)
Condition: an assignee must be assigned
Asked by Nero Mars:

Hi, friends! I have a problem again...  

I have connected the screen to the transition (todo -\> in_progress). This screen has only one field ("Assignee").   

I need to create such a condition on this transition: a assignee must be assigned to make the transition. I don't know how to do it.  

I will be glad for your help and advice!  

<br />


Answers:
author: Jose Luis Lopez
body: Hi [@Nero Mars](/t5/user/viewprofilepage/user-id/4167309)

You have to go to the workflow edition page. There, look for the transition that you need to edit (todo --\> in progress) and use the "Validators" options. Should work for your need.

Regards.

comments: author: Nero Mars
body: Hi, Jose!  
Thanks for your help! I'll try use it


Tags: jira
my account recovery mail sending is failed
Asked by Yohan Jeong:

my account is Redacted  
but my cell phone changed two factor is not possible

and recovery key lost.

i try send recovery email sending but, email sending request is failing.

please set disable two factor setting my account Redacted  
or send recovery mail to Redacted


Answers:
author: Syahrul
body: G'day, [@Yohan Jeong](/t5/user/viewprofilepage/user-id/5411794)

Welcome to the community.

Could you check our KB below on how to request a 2SV reset and follow the steps:

[How to Disable/Reset 2FA on Bitbucket Cloud and Atlassian Account](https://confluence.atlassian.com/bbkb/how-to-disable-reset-2fa-on-bitbucket-cloud-and-atlassian-account-1236932929.html)

Please let me know if you have any questions.

Regards,  
Syahrul

comments: author: ???
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536)

hi im [@Yohan Jeong](/t5/user/viewprofilepage/user-id/5411794) this account is test account.  

my origin account is 'john@linkhub.co.kr' please check my account status.  

<br />

I lost my cellphone and recovery key.

so i request recovery mail many many many times.

but webpage response like this 409 conflict.  

i try cookie initialize, use different browser etc...  
but response always 409 conflict  

![?????????? 2024-01-24 ???? 1.32.31.png](https://community.atlassian.com/t5/image/serverpage/image-id/302171iE92EEC19AE1A8EF8/image-size/large?v=v2&px=999 "?????????? 2024-01-24 ???? 1.32.31.png")


author: Syahrul
body: Hi there,

Noted. I have created a support ticket for you to investigate this issue further. You should be able to view them at:

<https://support.atlassian.com/requests>

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
How to add a new Jira subscription to BitBucket account?
Asked by Daniel Gauld:

Hey there.

We had recently signed up with Bitbucket. Our team wants to now add a Jira sub.

It appears a bitbucket account and Atlassian account are not linked?

I found the following article indicating Bitbucket accounts will be upgraded to Atlassian accounts? <https://support.atlassian.com/bitbucket-cloud/docs/upgrade-to-atlassian-account/>

So if we did not purchase Jira bundled with bitbucket, as of today we need to purchase a new Jira sub, manually integrate and billing for the products is separate? Correct?


Answers:
author: Odd_lynice
body: Hi [@Daniel Gauld](/t5/user/viewprofilepage/user-id/5411694)

Welcome to Atlassian community.

So technically speaking you are right - Bitbucket and Jira Cloud is managed separately and billed separately.

If you started with Bitbucket and added Jira later on - you need to sign up and create your Jira cloud site \>\> then you can follow [Connect Bitbucket Cloud to Jira Software Cloud](https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/) to maximize both Bitbucket and Jira.

You can sign up for Jira Cloud if you have not yet done so using this link: [Jira Software cloud sign up](https://www.atlassian.com/try/cloud/signup?bundle=jira-software&edition=free)

Theodore

comments: author: Daniel Gauld
body: thank you!


Tags: bitbucket-cloud

cloud

jira
Bitbucket pipelines terraform provisioning EKS failing
Asked by vgautam:

I am trying to run terraform plan from bitbucket pipelines. I have mapped the necessary rolearns to EKS. It works from my local but gives this error:  

Has Anyone done this workflow:  
Terraform to provision EKS in a separate AWS account from pipeline using OIDC


    ? Error: Kubernetes cluster unreachable: Get "#": getting credentials: exec: executable aws not found
    It looks like you are trying to use a client-go credential plugin that is not installed.
    To learn more about this feature, consult the documentation available at:
    ? https://kubernetes.io/docs/reference/access-authn-authz/authentication#client-go-credential-plugins


Answers:
author: Theodora Boudale
body: Hi [@vgautam](/t5/user/viewprofilepage/user-id/5390835) and welcome to the community!

The output you shared here includes the following error:

```
executable aws not found
```

Is this the output of an AWS CLI command?

Pipelines builds that run on Atlassian's infrastructure use Docker containers. For every step of your build, a Docker container starts (the build container) using the image you have specified in your bitbucket-pipelines.yml file. Any tools you use in that step's script need to be preinstalled in the Docker image you use as a build container or (if they are not) you need to install them during the build by adding the necessary commands in the yml file's script.

If it is indeed the AWS CLI that is missing from your build, you can either use a different Docker image as a build container, one that has AWS CLI preinstalled, or you can install it during the build. You can find details here:

* <https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html>

The instructions for Linux are relevant in this case and you don't need to use sudo as the build runs with root user.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud